summaryrefslogtreecommitdiff
path: root/cacert-boardvoting.service
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2021-03-07 22:28:54 +0100
committerJan Dittberner <jandd@cacert.org>2021-04-14 18:37:17 +0200
commit4d87e35ec2eeb740853e8ae79a4cc5c9f565cd08 (patch)
tree01257851c7c155c9c7223e06a5dfe7bb15799ec2 /cacert-boardvoting.service
parent806d706d4fa8131a137330766aabb7f467fbf5c6 (diff)
downloadcacert-boardvoting-4d87e35ec2eeb740853e8ae79a4cc5c9f565cd08.tar.gz
cacert-boardvoting-4d87e35ec2eeb740853e8ae79a4cc5c9f565cd08.tar.xz
cacert-boardvoting-4d87e35ec2eeb740853e8ae79a4cc5c9f565cd08.zip
Add nfpms configuration
Diffstat (limited to 'cacert-boardvoting.service')
-rw-r--r--cacert-boardvoting.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/cacert-boardvoting.service b/cacert-boardvoting.service
new file mode 100644
index 0000000..ad92db0
--- /dev/null
+++ b/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