summaryrefslogtreecommitdiff
path: root/debian/cacert-boardvoting.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/cacert-boardvoting.service')
-rw-r--r--debian/cacert-boardvoting.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/cacert-boardvoting.service b/debian/cacert-boardvoting.service
new file mode 100644
index 0000000..ad92db0
--- /dev/null
+++ b/debian/cacert-boardvoting.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=CAcert board voting software
+Documentation=file:/usr/share/doc/cacert-boardvoting/README.md.gz
+After=network.target
+ConditionPathExists=/srv/cacert-boardvoting/config.yaml
+
+[Service]
+ExecStart=/srv/cacert-boardvoting/cacert-boardvoting -config /srv/cacert-boardvoting/config.yaml
+User=cacert-boardvoting
+
+[Install]
+WantedBy=multi-user.target