Closed
Description
Is your feature request related to a problem? Please describe.
The collector uses an environment variable NO_WINDOWS_SERVICE
to regulate its behavior on Windows. By default, the collector will run as a windows service. This environment variable disables the behavior.
However, we operate in environments where we cannot set environment variables.
Describe the solution you'd like
We need an alternate way to set this flag, either as command line argument, configuration switch, or other mean.
Describe alternatives you've considered
N/A
Additional context
See https://github.com/signalfx/splunk-otel-collector/issues/2643 for original issue.