[systemd-devel] proper way to shutdown/reboot host with systemd
v.tolstov at selfip.ru
Tue Aug 26 13:09:33 PDT 2014
2014-08-26 23:58 GMT+04:00 Lennart Poettering <lennart at poettering.net>:
> We support /usr/sbin/shutdown only for compat reasons...
> If you use it with a time spec of "now", then this is just an alias for
> "systemctl poweroff". If you use it with another time spec, then it will
> tell this to a "shutdownd" daemon running in the background, that will
> wait for the time to elapse, and then invoke the original tool again,
> but this time with a time spec of "now"...
> We probably should add a proper scheme for timed shutdowns to logind,
> and get rid of shutdownd...
Thanks. As i understand if i don't want to enable detection for
various init systems i can run shutdown for compat. But then i get
proper init system detection best choise - use its api. Thanks again
e-mail: v.tolstov at selfip.ru
jabber: vase at selfip.ru
More information about the systemd-devel