From: davidchute Date: Sun, 21 Mar 2021 23:17:11 +0000 (+0000) Subject: Add pid file hint for systemd-sysv-generator X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98a7c6cfd9fc72a37e59b358ae326815b0913ab5;p=thirdparty%2Ftvheadend.git Add pid file hint for systemd-sysv-generator So that for systemd users, systemd-sysv-generator can work out where the pid file is located. And restart on detection that the process has died. --- diff --git a/debian/tvheadend.init b/debian/tvheadend.init index c3abbf76f..32f248492 100644 --- a/debian/tvheadend.init +++ b/debian/tvheadend.init @@ -1,4 +1,5 @@ #! /bin/sh +# pidfile: /var/run/tvheadend.pid ### BEGIN INIT INFO # Provides: tvheadend # Required-Start: $local_fs $remote_fs udev