-
Download and install Service Protector, if necessary.
-
Start Service Protector.
-
Select Protector > Add to open the Add Protector window:
-
You will be on the General tab. In the Service to protect field, choose the Openfire windows service, called, surprisingly Openfire.
You will notice a green circle on the left if the Openfire service is already running, as was the case on our server.
-
Switch over to the Monitor tab. If you find that Openfire accumulates memory and gets slower over time,
we recommend that you periodically restart the service at a time when no one is likely to be using the server. To do so:
Check the At the following times box.
Click the Add button.
Specify the day and time to restart the service. We have chosen every day at 3 AM. Note that you can choose to reboot the server at that time if you like.
Click the OK button to record the time.
-
And if you find that the Openfire windows service occasionally gets stuck in the "Stopping" or "Starting" state, click over to the Extras tab and check the corresponding options.
-
Click the Save button. In a second or two, an entry for Openfire will show up in the Service Protector window.
The Openfire service is probably already running but it's not yet being monitored by Service Protector (hence the red shield).
Click on the green circle to reveal some details on the Openfire service:
-
To start protection, choose Protector > Start "Openfire". The shield icon will go to green to indicate that Service Protector has started and the Openfire service is being protected.
Click the shield icon to see how Service Protector is doing:
-
That's it! Next time your computer boots, Openfire will start and Service Protector will begin watching the service to quickly restart it if it fails.
We encourage you to edit Openfire in Service Protector and check out the many other settings that may be appropriate for your environment.
For example, send email alerts when the service fails, add a script to detect failures of the web interface, and much more.