diff --git a/studiox-streamer.service b/studiox-streamer.service new file mode 100644 index 0000000..79d7dc8 --- /dev/null +++ b/studiox-streamer.service @@ -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