← Back to team overview

linux-traipu team mailing list archive

[Bug 1038508] Re: mythbackend won't start if no network is available

 

This happens to me by loosely supposing typos ;-) Alas  there is no such
line yet:

*****************************************
# MythTV Backend service

description     "MythTV Backend"
author          "Mario Limonciello <superm1@xxxxxxxxxx>"

start on (local-filesystems and started udev-finish)
stop on runlevel [016]

#expect fork
respawn
respawn limit 2 3600

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

script
        test -f /etc/default/locale && . /etc/default/locale || true
        LANG=$LANG /usr/bin/mythbackend --syslog local7 --user mythtv
end script 
********************************************

OTOH why is such behavior needed? I could (but not fully) understand
this on a BE only machine but  I cannot see the point for a standalone
box.

Regards,
Antonio

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/1038508

Title:
  mythbackend won't start if no network is available

Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
  Opinion

Bug description:
  Using PPA mythtv 0.26.

  Sometimes I'm abroad and leave my router off to save energy as I do
  not need networking those days. But then mythbackend refuses to start
  on automatic wakeups not performing scheduled recordings. Powering the
  router, then restarting the box makes things work normally. Mine is a
  standalone BE/FE box as I suppose the majority of Mythbuntu machines
  are.

  Regards.
  Antonio

To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/1038508/+subscriptions


References