diff --git a/light-meter.service b/light-meter.service new file mode 100644 index 0000000..281b5b7 --- /dev/null +++ b/light-meter.service @@ -0,0 +1,16 @@ +[Unit] +Description=Light-Meter service for Return to Ritherdon project by Nicola Ellis +After=network.service + +[Service] +Type=simple +ExecStart=bash /home/rtrp/repos/light-meter/startup.sh +WorkingDirectory=/home/rtrp/repos/light-meter +StandardOutput=inherit +StandardError=inherit +Restart=always +RestartSec=60 +user=rtrp + +[Install] +WantedBy=multi-user.target