myDaemon.service: [Unit] Description=myDaemon After=syslog.target network.target
[Service] PIDFile=/var/lock/subsys/myDaemon Type=simple ControlGroup=cpu:/ ExecStart=/usr/sbin/myDaemon --daemon #ExecStop=/bin/kill -s SIGTERM $MAINPID [Install] WantedBy=multi-user.target Using the service as shown, when I stop myDaemon, it gets one SIGTERM . However, if I uncomment the ExecStop line, it gets two SIGTERMs in rapid succession. Looks like a bug to me. What do you think? Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel