Project

General

Profile

RE: Unable to stop tvheadend service » dvbhdhomerun-utils.conf

Robert Barbiaux, 2014-11-27 20:53

 
1
# HDHomeRun DVB Driver
2
#
3
# The userspace daemon that talks with the SiliconDust HDHomeRun.
4

    
5
description     "HDHomeRun DVB Driver Userspace Daemon"
6
author          "Villy Thomsen <[email protected]>"
7

    
8
start on (filesystem and net-device-up IFACE!=lo and started udev)
9
stop on starting shutdown
10

    
11
script
12
    exec /bin/userhdhomerun > /var/log/dvbhdhomerun_stdout.log 2> /var/log/dvbhdhomerun_stderr.log
13
end script
14

    
15
pre-start exec modprobe dvb_hdhomerun
16
post-stop exec modprobe -r dvb_hdhomerun dvb_hdhomerun_fe dvb_hdhomerun_core 2>/dev/null
17

    
18
emits dvbhdhomerun
19

    
20
respawn
21
respawn limit 2 3600
22

    
23
post-start script
24
    sleep 20
25
    initctl emit dvbhdhomerun
26
end script
(3-3/3)