[systemd-devel] systemd reboot problem

lin webber webberlin at outlook.com
Tue Mar 7 03:15:01 UTC 2017

I use “system("reboot")” in my C program and system does not shutdown.I think that systemd is waiting for some services to shutdown which can't shutdown immediately.
But I don't want to wait for those services to shutdown.How can I shutdown my system immediately in my C program.which API should I call?
Thank you for reply.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170307/f447ec86/attachment.html>

More information about the systemd-devel mailing list