simplify service
This commit is contained in:
parent
b800dc0c86
commit
1c105f0d49
@ -3,10 +3,9 @@ Description=python and ffmpeg based playout
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
PIDFile=/tmp/ffplayout.pid
|
|
||||||
ExecStart=/usr/local/bin/ffplayout.py
|
ExecStart=/usr/local/bin/ffplayout.py
|
||||||
ExecStop=/bin/kill -s QUIT $MAINPID
|
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=1
|
||||||
User=user
|
User=user
|
||||||
Group=user
|
Group=user
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user