Ticket #7297: mythtv-backend.2.conf

File mythtv-backend.2.conf, 436 bytes (added by superm1@…, 16 years ago)

updated upstart script

Line 
1# MythTV Backend service
2
3description "MythTV Backend"
4author "Mario Limonciello <superm1@ubuntu.com>"
5
6start on (local-filesystems and net-device-up IFACE=lo)
7stop on starting shutdown
8
9#expect fork
10respawn
11
12script
13 USER=mythtv
14 ARGS="--logfile /var/log/mythtv/mythbackend.log"
15 test -f /etc/default/mythtv-backend && . /etc/default/mythtv-backend || true
16 exec /bin/su -c "/usr/bin/mythbackend $ARGS" $USER
17end script