opensourceautomation / Open-Source-Automation

Open Source Automation is a home and commercial automation engine
www.opensourceautomation.com
GNU Lesser General Public License v3.0
97 stars 63 forks source link

Manager need to periodically poll if the services are running. #345

Closed bwoodworth closed 8 years ago

bwoodworth commented 8 years ago

Occasionally the services crash or are stopped manually outside of the Manger it should represent the current status of the services.

VaughnRupp commented 8 years ago

MySQL, and UWS both monitor live and work very well, not sure why the same does not work on the OSA service. Should be an easy fix.

VaughnRupp commented 8 years ago

OSAE service was using a global declaration for the ServiceController, whereas MySQL and UWS used a local instance and worked fine. I converted the OSAE service to create a new controller when checking and it updates fast now.