Interview Prep/Linux/Processes, Signals & systemd

What do `systemctl status` states "active (exited)" and "activating (auto-restart)" mean?

IntermediateConceptProcesses, Signals & systemd
Answer

active (exited): a oneshot unit with RemainAfterExit=yes ran successfully and is considered active although no process remains. activating (auto-restart): the process died and systemd is waiting RestartSec before restarting, which usually means a crash loop. Check journalctl -u <unit> -n 50 for the exit reason.

All Linux questions Roadmap: Linux

More on Processes, Signals & systemd