2018-03-16 03:43:01 UTC
I see that default reboot/systemctl reboot command issues SIGTERM to my
apps and hence it is doing graceful stop of apps and this may take some
time and hence shutdown time may be little longer.
I am looking for safe and fastest shutdown/reboot method.
a) It is OK if my apps are stopped ungracefully during shutdown .(app
should not start automatically again after they are killed/stopped during
b) file system and such system level stuff needs to be cleanly shut down
1) From my research, I see that 'systemctl reboot --force' is the one I can
I understand that this command sends SIGKILL to my apps.
So this satisfies both (a) and (b) and hence this command should be used to
Could you please confirm ?
If this is not right method, please comment on which method to use.
2) Also is there a way to limit SIGKILL to only my apps when I do ' 'systemctl
so that rest of the system level services still get stopped gracefully
3) If 'systemctl reboot --force' is correct command to use in my case,
then during shutdown , will my apps get restarted
due to 'Restart'/'StartLimitBurst'/'StartLimitInterval' settings in service
file ? I dont want my apps to get restarted if they are stopped/killed
during system shutdown