[mythtv-users] mythbackend not starting on mythbuntu ubuntu 13.10
Chris Lewis
chrislewis915 at gmail.com
Sun Feb 9 14:34:22 UTC 2014
Thanks for the pointer.
Next problem is to try and tackle 0 byte recordings but that's what whole
other thread for another day.
Chris
Get free online storage http://db.tt/rUaqYGYA
On 9 Feb 2014 14:31, "Bill Meek" <keemllib at gmail.com> wrote:
> On 02/09/2014 05:54 AM, Chris Lewis wrote:
>
>> Actually never mind.I have replaced the entire file with the one in the
>> link above and it seems to be working now!
>>
>> Chris
>>
>>
>> On 9 February 2014 11:40, Chris Lewis <chrislewis915 at gmail.com> wrote:
>>
>> OK i have added comments to the file /etc/init/mythtv-backend.conf as
>>> below.
>>>
>>> # MythTV Backend service
>>>
>>> description "MythTV Backend"
>>> author "Mario Limonciello <superm1 at ubuntu.com>"
>>>
>>> echo "job called" >> /home/chris/backend-startup.log
>>>
>>> start on (local-filesystems and net-device-up IFACE!=lo and started
>>> udev-finish)
>>> stop on runlevel [016]
>>>
>>> echo "start on working" >> /home/chris/backend-startup.log
>>>
>>> #expect fork
>>> kill timeout 10
>>> respawn
>>> respawn limit 2 3600
>>>
>>> echo "backend pre-start script begins" >> /home/chris/backend-startup.
>>> log
>>>
>>> pre-start script
>>> [ -x /usr/sbin/mysqld ] || exit 0
>>> for i in `seq 1 30` ; do
>>> /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping
>>> &&
>>> exit 0
>>> sleep 5
>>> done
>>> end script
>>>
>>> echo "script begins" >> /home/chris/backend-startup.log
>>>
>>> script
>>> ulimit -c unlimited
>>>
>>> test -f /etc/default/locale && . /etc/default/locale || true
>>> ARGS="--syslog local7"
>>> sleep 5
>>> test -f /etc/default/mythtv-backend && .
>>> /etc/default/mythtv-backend || true
>>> LANG=$LANG exec /usr/bin/mythbackend --user mythtv $ARGS
>>> $EXTRA_ARGS
>>> end script
>>>
>>
> Good to hear you got it working, but for the archive, the echo (or
> any other shell commands) must be *inside* of the scripts. The above
> will always fail.
>
> --
> Bill
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140209/4cf6e4df/attachment.html>
More information about the mythtv-users
mailing list