Skip to content

Alternative method to configure NO_WINDOWS_SERVICE #7350

Closed
@atoulme

Description

@atoulme

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions