diff --git a/assets/ffplayout_engine.service b/assets/ffplayout_engine.service new file mode 100644 index 00000000..a4445d45 --- /dev/null +++ b/assets/ffplayout_engine.service @@ -0,0 +1,14 @@ +[Unit] +Description=python and ffmpeg based playout +After=network.target + +[Service] +ExecStart= /usr/local/bin/ffplayout +ExecReload=/bin/kill -1 $MAINPID +Restart=always +RestartSec=1 +User=www-data +Group=www-data + +[Install] +WantedBy=multi-user.target