simplify service

This commit is contained in:
jb-alvarado 2019-10-28 20:18:00 +01:00 committed by GitHub
parent b800dc0c86
commit 1c105f0d49

View File

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