I continue to have problems where mythbackend stops, or at least becomes unresponsive, and the only way to recover mythtv is to nuke mythlogserver.
I added the following to /etc/init.d/mythtv-backend but...
Code:
nuke)
echo -n "Nuking myth "
ps -ef |grep myth |grep -v grep | grep -v init\.d |awk '{print $2}' |xargs kill -9
;;
I get the following complaint.
Code:
bob@musem:~$ sudo /etc/init.d/mythtv-backend restart
[....] Restarting mythtv-backend (via systemctl): mythtv-backend.serviceWarning: Unit file of mythtv-backend.service changed on disk, 'systemctl daemon-reload' recommended.
I don't get this complaint when I manually "kill -9" the mythlogserver after using "/etc/init.d/mythtv-backend stop". I've tried using the "...stop" command before running nuke, but I still get the complaint about systemctl. So, is this a sequencing problem or am I going about this the wrong way?
The problem is on debian jessie, but it's the same on all the debian releases I've used over the years. So, I'd like to have a way of doing this through init.d.