Clear failed state

Reset failed counters so units can restart past StartLimitBurst, then list what is still failed

systemctl reset-failed && systemctl list-units --state=failed

tool
systemd26 commands
tags
systemdtroubleshootingdebug

More systemd commands

  • systemd-run --on-calendar='*-*-* 03:00:00' --unit=backup /usr/local/bin/backup.sh

    Spin up a throwaway timer+service without writing unit files; great for ad-hoc scheduled jobs

  • systemctl set-property --runtime <unit> MemoryMax=512M CPUQuota=50%

    Apply cgroup limits live without restart; --runtime keeps them volatile (gone on reboot)

  • systemctl list-jobs

    Show in-flight start/stop jobs to diagnose a hung boot or a unit stuck activating

  • systemctl enable --now myapp.service

    Enable at boot and start immediately in one command

  • systemctl list-units --state=failed

    List all units that are in a failed state

all 26 systemd commands