[mythtv-users] SPAM-LOW: delaying mythbackend startup until a STB is available

stevegoodey at spamcop.net stevegoodey at spamcop.net
Mon Feb 4 21:04:01 UTC 2019

On Monday, 4 February 2019 20:56:20 GMT Jerome Yuzyk wrote:
> Over the weekend I had a power outage. My MythTV BE/FE is on a 900VA UPS and
> 2 ongoing recordings chugged merrily along until the UPS battery ran out -
> this was a serious outage. I don't use the soft-shutdown capabilities of my
> UPS monitor because outages aren't usually this long and it's a new UPS so
> I don't know how long it's good for. But Linux seems to be remarkably
> robust so I've never been zinged with problems after a power drop-out.
> Upon power restoration the machine and my STBs restarted and one the
> previously-recording shows picked up on my SD STB. The other recording had
> ended during the outage.
> But, mythbackend didn't see the HD STB because it takes a minute or so to
> reboot, way slower than the machine takes to start up. I had to manually
> restart mythbackend after the HD STB booted up.
> So, I was wondering if there's a way to know, at boot time, if the boot is
> happening after a power loss (not a normal shutdown), so that I could then
> delay the start of mythbackend for a couple minutes after the machine
> reboots to let the HD STB get itself together.
> Any ideas?


Regards, Steve Goodey
Colchester, England
Registered Linux User #372670 http://counter.li.org

Hello to Jason Isaacs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20190204/1d21084c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 372670.png
Type: image/png
Size: 5378 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20190204/1d21084c/attachment-0001.png>

More information about the mythtv-users mailing list