Use a forking type systemd service
authorChristophe Varoqui <christophe.varoqui@opensvc.com>
Fri, 30 Sep 2016 16:40:36 +0000 (18:40 +0200)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Fri, 30 Sep 2016 16:40:36 +0000 (18:40 +0200)
unmid.service

index c0b699e..25ab02f 100644 (file)
@@ -1,13 +1,12 @@
 [Unit]
-Description=daemon to trigger sysrq upon classified NMI
+Description=Daemon to trigger sysrq upon classified NMI
 Documentation=file:/usr/share/doc/unmid/
 
 [Service]
 ExecStart=/usr/bin/unmid
 ExecReload=/bin/kill -HUP $MAINPID
-KillMode=process
 Restart=on-failure
-Type=notify
+Type=forking
 
 [Install]
 WantedBy=multi-user.target