-
Notifications
You must be signed in to change notification settings - Fork 297
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
daemon service does not work in windows10 #94
Comments
See my pull request #97 |
I updated to golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f, but it still does't work. |
Updating the dependency was just a side-effect, not at all necessary. The important thing is to restructure your code as i have done in my pull request. |
@filippo-veneri I just looked at the code on your PR and I couldn't help but wonder why and how it "works"? Unless I missed it, I don't see any place where you are calling |
This is also related to #68 |
It is a bit convoluted. On Windows the |
I was running into a similar issue and found @filippo-veneri is correct. The example service does not work on the master branch. Your code needs to implement the Line 131 in c329ab9
|
Attempting to start windows service results in a long pause and the following error returned:
Error: The service did not respond to the start or control request in a timely fashion.
The text was updated successfully, but these errors were encountered: