summaryrefslogtreecommitdiff
path: root/systemd/fruitvote.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/fruitvote.service')
-rw-r--r--systemd/fruitvote.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/fruitvote.service b/systemd/fruitvote.service
new file mode 100644
index 0000000..424aaf1
--- /dev/null
+++ b/systemd/fruitvote.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=fruitvote
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/nice -n 19 /home/simponic/fruitvote/fruitvote --socket-path /home/simponic/fruitvote/http.sock --users nginx,simponic
+Restart=always
+
+[Install]
+WantedBy=default.target