~ubuntu-branches/ubuntu/natty/mythtv/natty

« back to all changes in this revision

Viewing changes to debian/mythtv-backend.upstart

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello, Mario Limonciello, Thomas Mashos
  • Date: 2010-06-20 00:11:00 UTC
  • mfrom: (1.1.53 upstream)
  • Revision ID: james.westby@ubuntu.com-20100620001100-yulpns6qg4ksmay6
Tags: 0.23.0+fixes25138-0ubuntu1
[ Mario Limonciello ]
* new upstream checkout (25138)

[ Thomas Mashos ]
* Added missingok for mirobridge log in logrotate (LP: #581283)
* Backend now waits for udev to finish (LP: #556204)
* Added patch to properly detect dbus during compile (LP: #574877)

Show diffs side-by-side

added added

removed removed

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