summarylogtreecommitdiffstats
path: root/pfufsscanbutton.service
diff options
context:
space:
mode:
authorAlexander Kobel2019-03-08 12:57:07 +0100
committerAlexander Kobel2019-03-08 12:57:07 +0100
commit9e99e3f06b8fd3b9296dbc20fe1b7c79c846376d (patch)
tree40d319b24eb4dff085dad68b80e977df787cff99 /pfufsscanbutton.service
parent8e01ac147313fc8bfaf72697ba2b1a333f171ffb (diff)
downloadaur-9e99e3f06b8fd3b9296dbc20fe1b7c79c846376d.tar.gz
add systemd service; some cleanup
Diffstat (limited to 'pfufsscanbutton.service')
-rw-r--r--pfufsscanbutton.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/pfufsscanbutton.service b/pfufsscanbutton.service
new file mode 100644
index 000000000000..e78e34875a8f
--- /dev/null
+++ b/pfufsscanbutton.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=pfufs scanbutton manager
+
+[Service]
+Type=simple
+ExecStart=/opt/pfufs/bin/pfufsscanmanager
+PIDFile=/var/run/pfufsscanbutton.pid
+Restart=on-abnormal
+
+[Install]
+WantedBy=multi-user.target