You are here: Home » Topic » Automatic Restart

Automatic Restart

This topic contains 2 replies, has 2 voices, and was last updated by  blamm 9 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2464

    blamm
    Participant

    Hi.

    Occasionally my Firefly service stops. I suspect it is a bad MP3 file somewhere but I havnt managed to locate it yet. Often it is caused by me using Fireplay or Crossfire remotely (navigating playlists), which means Firefly is unavailable till I get home and restart it (which is a pain on business trips). I was wondering if I could have something run every hour or so on my server that checks if Firefly is running and restarts it if it isnt.

    I am running Firefly in a Windows XP PC.

    Thanks

    #17080

    fizze
    Participant

    If the service stops running, you can use the windows service’s options to manage that. But most of the times it simply hangs.
    That is, the service is still present, but not responding.

    So you’d need to create a “watchdog” job that checks wether the service is responsive, and kill it and restart it in case.

    I guess you could check out some XML replies from the service and force restart the service even on windows with a simple shell script….. I have my doubts that’s working though.

    What do you do when you’re home to resolve the situation?

    #17081

    blamm
    Participant

    I have a batch file that starts the service remotely. Mostly the service has stopped allready

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.