ffplayout/ffplayout.service

15 lines
258 B
SYSTEMD
Raw Normal View History

2018-01-07 07:58:45 -05:00
[Unit]
Description=python and ffmpeg based playout
After=network.target
[Service]
PIDFile=/tmp/ffplayout.pid
ExecStart=/usr/local/bin/ffplayout.py
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=always
User=user
Group=user
[Install]
WantedBy=multi-user.target