systemctl reset-failed nginx

Category: Administration

systemctl reset-failed nginx

Clear the failed state of a unit

Forgets that the nginx service previously failed, removing it from the failed list and resetting its failure counters. A unit stays in failed state until reset, which matters for automation that watches systemctl is-failed. The bare form systemctl reset-failed clears every failed unit at once.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.