From b74bd67a4a25076812e86e7989a63b9540e68b25 Mon Sep 17 00:00:00 2001 From: Lizzy Hunt Date: Sun, 10 Mar 2024 01:41:11 -0700 Subject: attempt systemd deployment --- systemd/fruitvote.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 systemd/fruitvote.service (limited to 'systemd/fruitvote.service') 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 -- cgit v1.2.3-70-g09d2