For years, people have reported problems getting Squeezecenter running
as a Windows service to restart reliably from the command line. It
works fine from the Windows services GUI, but you can't script it
because of the command line problem.

This may help:

* Run services.msc and open the properties for the SqueezeCenter
service.
* On the Recovery tab, Set first, second and subsequent failures to
Restart the Service.

In your  script or from the command line:

net stop squeezemysql
taskkill /f /im squeezecenter.exe

This will force an abnormal stop of squeezecenter, while, I hope,
protecting the database. So far, for me, so good.

Squeezecenter will be correctly restarted by Windows in 1 minute after
you kill it (1 minute by default--you can change that too on the
Recovery tab if you need Squeezecenter to stay down longer).

HTH

-Mike


-- 
mikelee999
------------------------------------------------------------------------
mikelee999's Profile: http://forums.slimdevices.com/member.php?userid=17310
View this thread: http://forums.slimdevices.com/showthread.php?t=61361

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to