Add a systemd unit file
authorChristophe Varoqui <christophe.varoqui@opensvc.com>
Fri, 30 Sep 2016 15:00:14 +0000 (17:00 +0200)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Fri, 30 Sep 2016 15:00:14 +0000 (17:00 +0200)
unmid.service [new file with mode: 0644]

diff --git a/unmid.service b/unmid.service
new file mode 100644 (file)
index 0000000..c0b699e
--- /dev/null
@@ -0,0 +1,14 @@
+[Unit]
+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
+
+[Install]
+WantedBy=multi-user.target
+