add systemd service

This commit is contained in:
jb-alvarado 2022-03-17 10:26:11 +01:00
parent f6649b1ddc
commit 3cbd966c7d

View File

@ -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