Created
August 10, 2010 22:13
-
-
Save pwood/518116 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CCcam | |
description "CCcam" | |
author "Peter Wood <peter@alastria.net>" | |
start on (local-filesystems and net-device-up IFACE=lo) | |
stop on starting shutdown | |
#expect fork | |
respawn | |
script | |
USER=root | |
ARGS="-d -C /usr/local/src/cccam/CCcam.cfg" | |
/usr/local/src/cccam/CCcam.x86_64 $ARGS | |
end script |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MythTV Backend service | |
description "MythTV Backend" | |
author "Mario Limonciello <superm1@ubuntu.com>" | |
start on (started sasc-ng and local-filesystems and net-device-up IFACE=lo) | |
stop on starting shutdown | |
#expect fork | |
respawn | |
script | |
USER=mythtv | |
ARGS="--logfile /var/log/mythtv/mythbackend.log --user $USER" | |
test -f /etc/default/mythtv-backend && . /etc/default/mythtv-backend || true | |
/usr/bin/mythbackend $ARGS | |
end script |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SASC-NG SoftCam | |
description "SASC-NG SoftCam" | |
author "Peter Wood <peter@alastria.net>" | |
start on (started cccam and local-filesystems and net-device-up IFACE=lo) | |
stop on starting shutdown | |
respawn | |
emits sascng | |
pre-start script | |
sleep 5 | |
modprobe dvbloopback num_adapters=2 | |
sleep 5 | |
end script | |
exec /usr/bin/sasc-ng -j 0:2 -j 1:3 --cam-budget --cam-dir /etc/camfiles --sid-allpid --sid-nocache -d 0xf05 | |
post-stop script | |
rmmod dvbloopback | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment