Return failure state for a unit.
Section: Service Lifecycle
Check if service is failed
bash
bash
systemctl is-failed nginxExplanation
Good for automation and troubleshooting.
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