Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

binary will not run as windows service #73

Closed
loomis-relativity opened this issue Sep 25, 2021 · 0 comments · Fixed by #75
Closed

binary will not run as windows service #73

loomis-relativity opened this issue Sep 25, 2021 · 0 comments · Fixed by #75
Assignees
Labels
bug Something isn't working hacktoberfest

Comments

@loomis-relativity
Copy link
Contributor

When building a Windows binary (either directly on Windows or cross-compiling to Windows), the resulting executable cannot be run as a Windows service. The service start request simply times out. This because the generated main.go file doesn't check whether the service is running interactively or not. The main.go files in the open-telemetry/opentelemetry-collector-contrib repository do check for this and can run correctly as a Windows service.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants