Project

General

Profile

Still doesn't upstart

Added by Maury Markowitz almost 9 years ago

Everything seems to be working on my machine, except upstart. My script follows. If I reboot it does not start, it does, however, say it's running. If I then stop tvheadend and then start tvheadend, no errors are reported, but again, it does not start. If I copy and paste the command into the shell directly, it works fine. And yes, it's really not running. Here is the script:

start on (local-filesystems and net-device-up and started udev-finish)
stop on runlevel [!2345]
expect fork
respawn
script
[ -r /etc/default/tvheadend ] && . /etc/default/tvheadend
[ "$TVH_ENABLED" = "1" ] || exit 0
/usr/local/bin/tvheadend -f # $ARGS $TVH_ARGS
end script