Michael Herger;259380 Wrote: > > No. We've tried to do that up to 6.5 and it was a mess. > It would be possible to do the restart "in software" but you are saying is is very difficult, which I can appreciate.
I'm on Debian and just looked at the manner you run SC there. The /usr/sbin/squeezecenter_safe shell script just sits in a forever loop and will restart the /usr/bin/squeezecenter perl script whenever it exits or dies. So why not present a restart button to the user on which the perl script just exits (with exit status = 0)? It will then get automatically restarted by the invoking shell wrapper. Currently the script would report "SqueezeCenter died. Restarting" in the server.log but I'd change this script to test the exit status and report "User requested restart" when the exit status is 0. -- bulletmark ------------------------------------------------------------------------ bulletmark's Profile: http://forums.slimdevices.com/member.php?userid=15014 View this thread: http://forums.slimdevices.com/showthread.php?t=42295 _______________________________________________ beta mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/beta
