-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors Running as a Windows Service #121
Comments
I just ran into the same issue but could create a service with this tool: NSSM - the Non-Sucking Service Manager Here's an example how it could be installed with a batch file:
|
If someone tries to implement this https://github.com/prometheus-community/windows_exporter/blob/master/exporter.go#L466-L491 can be used as a template to add Windows Service funcionality to an Exporter. |
We are trying to run the Apache Exporter executable as a Windows service. When running the script using command-line; it works fine. As a windows service, we get the error:
Error 1053: The service did not respond to the start or control request in a timely fashion.
Any suggestions?
The text was updated successfully, but these errors were encountered: