add systemd file
This commit is contained in:
parent
0024f44c80
commit
202647371b
1 changed files with 12 additions and 0 deletions
12
studiox-streamer.service
Normal file
12
studiox-streamer.service
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue