systemctl is-active nginx

Category: Administration

systemctl is-active nginx

Check if a service is currently active

Checks if a service is currently running. Exits with code 0 (success) if active, 1 if not.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.