add systemd service
This commit is contained in:
parent
f6649b1ddc
commit
3cbd966c7d
14
assets/ffplayout_engine.service
Normal file
14
assets/ffplayout_engine.service
Normal 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
|
Loading…
x
Reference in New Issue
Block a user