[systemd-devel] systemd-sysv-generator bug ?

Cédric BRINER cedric.briner at unige.ch
Mon Nov 28 14:28:13 UTC 2016


To summarize our understanding:
- you cannot use systemd to stop a daemon that was not started with a
systemd tools. Daemon launched with systemd could be one:
 - with a .service on systemd
 - launched with systemd-run

So if you log into a terminal and launch the daemon with a
/usr/bin/my_daemon &, you will not able to stop it with systemd. Asthe
daemon will be attached to user.slice.

Moving the start and the stop to a service, solved everything.

Regards.

Cedric BRINER
P.-S. Thanks for the fast and helpfull response of the mailing list.

-- 
Cédric BRINER, Ing. EPFL & HES
+41 (0)22 / 379 71 83


More information about the systemd-devel mailing list