Return a simple active state.
Section: Service Lifecycle
Check if service is active
bash
bash
systemctl is-active nginxExplanation
Useful in scripts and health checks.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Service Lifecycle