mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 13:52:40 +01:00
- Add media-tv/tvheadend-3.4.27 and media-libs/libdvbcsa-1.1.0
This commit is contained in:
19
media-tv/tvheadend/files/tvheadend.initd
Normal file
19
media-tv/tvheadend/files/tvheadend.initd
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/sbin/runscript
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Tvheadend"
|
||||
start-stop-daemon --start --quiet --exec /usr/bin/tvheadend \
|
||||
-- -f -C -u ${TVHEADEND_USER} -g ${TVHEADEND_GROUP} \
|
||||
-c ${TVHEADEND_CONFIG} ${TVHEADEND_OPTIONS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Tvheadend"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/tvheadend.pid
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user