
nick.rout at gmail
May 17, 2010, 1:12 PM
Post #6 of 6
(867 views)
Permalink
|
|
Re: Mythbackend and Apache2 fail to start at boot
[In reply to]
|
|
On Sun, May 16, 2010 at 7:33 PM, Stephen Worthington <stephen_agent [at] jsw> wrote: > On Sun, 16 May 2010 19:19:11 +1200, you wrote: > >>On Sun, 16 May 2010 17:07:14 +1200, you wrote: >> >>>Since building a Lucid Myth machine, (when Lucid was still in Beta) I >>>have had a problem with mythbackend and apache2 not starting at boot >>>time. mythtv-backend is sym linked to 'upstart-job'. It starts fine >>>when '/etc/init.d/mythtv-backend restart' is called. >>> >>>I like to turn my machine off during the night and every so often in the >>>morning I forget to manually restart the backend, recordings are missed >>>resulting in low WAF. >>> >>>Does anyone know know to fix this? >>> >>>Thanks >>>Graeme >> >>Do you have a /etc/init/mythtv-backend.conf file for upstart? This is >>what mine looks like in Mythbuntu 9.10: >> >># MythTV Backend service >> >>description "MythTV Backend" >>author "Matt Mossholder <matt [at] mossholder>" >> >>start on (local-filesystems and net-device-up IFACE=lo) >>stop on starting shutdown >> >>#expect fork >>respawn >> >>script >> test -f /etc/default/mythtv-backend && . >>/etc/default/mythtv-backend || true >> exec /bin/su -c "/usr/bin/mythbackend $ARGS" $USER >>end script >> >>And looking at that, I think I need to fix it a bit - it is waiting >>for lo to be up, but I have MythTV configured to use eth0 so I can >>access it from other frontends. > > Oops, that got word wrapped. The "test -f /etc/default/mythtv-backend > && ." and the "/etc/default/mythtv-backend || true" bits are all one > line. This is the thread I was thinking of: http://www.gossamer-threads.com/lists/mythtv/users/435419#435419 _______________________________________________ mythtvnz mailing list mythtvnz [at] lists http://lists.ourshack.com/mailman/listinfo/mythtvnz Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
|