2 ms·
TERM, wait, KILL is exactly what systemd does by default, and it's again configurable (and documented): > If no ExecStop= commands are specified, the service g
by zokier 2y ago
TERM, wait, KILL is exactly what systemd does by default, and it's again configurable (and documented):
> If no ExecStop= commands are specified, the service gets the SIGTERM immediately. This default behavior can be changed by the TimeoutStopFailureMode= option. Second, it configures the time to wait for the service itself to stop. If it doesn't terminate in the specified time, it will be forcibly terminated by SIGKILL (see KillMode= in systemd.kill(5)).
https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#TimeoutStopSec= https://www.freedesktop.org/software/systemd/man/latest/syst...
https://www.freedesktop.org/software/systemd/man/latest/systemd.kill.html#KillMode= https://www.freedesktop.org/software/systemd/man/latest/syst...