[mythtv-users] mythbackend does not shutdown and insists in --lock ed state

Martin Ginkel martin_ginkel at web.de
Wed Oct 16 20:55:30 UTC 2013


Am 16.10.2013 13:00, schrieb Paul Harrison:
> The lock is recursive so if you call mythshutdown --lock 3 times you have to
> call mythshutdown --unlock 3 times to get back to an unlocked state so try
> calling mythshutdown --unlock a few time to see if it clears it.
> 
> The idea is if you have a few scripts that run in parallel that you don't want

OK, thanks --- this solved it.
I experimented with a backup script and canceled it a couple of times after it
went wrong.

So the --unlock must go into a
trap "mythshutdown --unlock" EXIT

in order to always execute it...

          Best regards
		Martin


More information about the mythtv-users mailing list