[mythtv-commits] Ticket #7297: Add an upstart script

MythTV mythtv at cvs.mythtv.org
Sun Oct 11 16:04:23 UTC 2009


#7297: Add an upstart script
--------------------------------+-------------------------------------------
 Reporter:  superm1 at ubuntu.com  |       Owner:  ijr    
     Type:  enhancement         |      Status:  new    
 Priority:  minor               |   Milestone:  unknown
Component:  MythTV - General    |     Version:  unknown
 Severity:  medium              |     Mlocked:  0      
--------------------------------+-------------------------------------------
 I'm not sure how many distros are moving to upstart in the near future,
 but at least Ubuntu 9.10 and Fedora 12 are.  They support using an upstart
 script that will keep the backend running / respawn it after a crash etc.

 I'm attaching the upstart script we're using in Ubuntu.  This gets
 installed into /etc/init/mythtv-backend.conf and a symlink is created in
 /etc/init.d/mythtv-backend to point to point to /lib/init/upstart-job.

 That means that you can still use "service mythtv-backend restart" or
 "/etc/init.d/mythtv-backend restart" etc.

 I'm not sure what kind of configure logic is needed to detect if the
 system is running upstart however.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7297>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list