From ac0176b228905a6e0f41b9c686f2a2f561777b66 Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Sun, 17 Oct 2021 10:20:14 +0200 Subject: [PATCH] Scanimation service --- scanimation.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 scanimation.service diff --git a/scanimation.service b/scanimation.service new file mode 100644 index 0000000..729fc10 --- /dev/null +++ b/scanimation.service @@ -0,0 +1,14 @@ +[Unit] +Description=GuestWorker Scanimation server +After=network.target + +[Service] +WorkingDirectory=/home/mt/guest_worker/scanimation +ExecStart=/usr/bin/node run.js +User=mt +Restart=Always +RestartSec=10 + + +[Install] +WantedBy=multi-user.target