From 1c105f0d49f605ada0cda3b4873ae0c883f00f0e Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Mon, 28 Oct 2019 20:18:00 +0100 Subject: [PATCH] simplify service --- ffplayout.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ffplayout.service b/ffplayout.service index e4097ce3..c026f45c 100644 --- a/ffplayout.service +++ b/ffplayout.service @@ -3,10 +3,9 @@ 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 +RestartSec=1 User=user Group=user