]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Add pid file hint for systemd-sysv-generator
authordavidchute <david@chute.me.uk>
Sun, 21 Mar 2021 23:17:11 +0000 (23:17 +0000)
committerFlole998 <Flole998@users.noreply.github.com>
Fri, 2 Apr 2021 19:21:56 +0000 (21:21 +0200)
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.

debian/tvheadend.init

index c3abbf76febd4ec95e5593cf7f2b6fd00ec7cb26..32f24849275a547a673d5b04e2cb5668bc5c8193 100644 (file)
@@ -1,4 +1,5 @@
 #! /bin/sh
+# pidfile: /var/run/tvheadend.pid
 ### BEGIN INIT INFO
 # Provides:          tvheadend
 # Required-Start:    $local_fs $remote_fs udev