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

Lennart Poettering lennart at poettering.net
Mon Nov 28 17:26:30 UTC 2016


On Mon, 28.11.16 15:28, Cédric BRINER (cedric.briner at unige.ch) wrote:

> 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.

Yupp, all of the above sounds correct!

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list