[systemd-devel] systemd reboot problem

2017-03-06 Thread lin webber
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

Re: [systemd-devel] Can a systemd --user instance rely on After= of systemd --system instance?

2017-03-06 Thread Kai Krakow
Am Sat, 4 Mar 2017 22:07:57 +0300 schrieb Andrei Borzenkov : > 04.03.2017 13:49, Peter Hoeg пишет: > > Hi, > > > >> If I have a user service which needs to have the system database > >> server available: How do I construct a proper depend? > > > > As Lennart was