summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorLizzy Hunt <elizabeth.hunt@simponic.xyz>2024-03-10 01:41:11 -0700
committerLizzy Hunt <elizabeth.hunt@simponic.xyz>2024-03-10 01:41:11 -0700
commitb74bd67a4a25076812e86e7989a63b9540e68b25 (patch)
tree39824a177b8e3b4d25123392427442f6a3d4add1 /systemd
parent11155128178ff3d8ea803a70dd7749e594b247a9 (diff)
downloadtilde.club-b74bd67a4a25076812e86e7989a63b9540e68b25.tar.gz
tilde.club-b74bd67a4a25076812e86e7989a63b9540e68b25.zip
attempt systemd deployment
Diffstat (limited to 'systemd')
-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