add systemd file

This commit is contained in:
rdl technix 2021-09-03 19:07:51 +02:00
parent 0024f44c80
commit 202647371b

12
studiox-streamer.service Normal file
View file

@ -0,0 +1,12 @@
[Unit]
Description=StudioX Streamer
After=network.target
[Service]
WorkingDirectory=/home/pi/apps/studiox-streamer
Type=simple
ExecStart=npm start
Restart=on-failure
[Install]
WantedBy=default.target