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 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel