diff options
Diffstat (limited to 'testing/tvheadend-git/tvheadend-git.initd')
-rw-r--r-- | testing/tvheadend-git/tvheadend-git.initd | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/testing/tvheadend-git/tvheadend-git.initd b/testing/tvheadend-git/tvheadend-git.initd deleted file mode 100644 index b72df33788..0000000000 --- a/testing/tvheadend-git/tvheadend-git.initd +++ /dev/null @@ -1,32 +0,0 @@ -#!/sbin/runscript - -depend() { - need net -} - -start() { - ebegin "Starting tvheadend" - - checkconf || return 1 - - start-stop-daemon --start \ - --exec ${TVHBIN} -- \ - -C -f -u ${TVHUSER} \ - -c ${TVHCONF} - eend $? -} - -stop() { - ebegin "Stopping tvheadend" - start-stop-daemon --stop --quiet \ - --retry TERM/30/KILL/5 \ - --pidfile /var/run/tvheadend.pid - eend $? -} - -checkconf() { - if [ ! -d "$TVHCONF" ]; then - eerror "config directory does not exist!" - return 1 - fi -} |