On Tue, Aug 26, 2014 at 7:34 PM, Vasiliy Tolstov <[email protected]> wrote: > Hi. What is proper way to shutdown systemd enabled host? > I can run systemctl poweroff, do glibc call shutdown or run shutdown -P > now... > I'm prefer glibc call, does it proper shutdown system with systemd (and > other init systems like sysvinit and upstart) ?
Which glibc call exactly are you referring to? reboot() tells the kernel to shut down (or reboot) immediately – it doesn't call init, and it doesn't even as much as sync disks. shutdown() has nothing to do with system power state; it closes a network socket. -- Mantas Mikulėnas <[email protected]> _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
