[systemd-devel] safe and fast shutdown/reboot
Lennart Poettering
lennart at poettering.net
Tue Mar 20 11:14:25 UTC 2018
On Fr, 16.03.18 09:27, prashantkumar dhotre (prashantkumardhotre at gmail.com) wrote:
> Thanks but I want to sigkill my services only during system shutdown and
> not on normal service stop 'systemctl myservice stop'.
> so I can not use ' KillSignal' setting. Is there any other way ?
Nope there is not. We do not distinguish between stopping for shutdown
and other reasons (and we can't really, as we merge stop requests if
multiple are queued at the same time, and hence there are regular
cases where more than one reason applies)
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list