Skip to content

Update env-provider.md #1807

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update env-provider.md #1807

wants to merge 1 commit into from

Conversation

psanz-estc
Copy link

This document is incomplete as there is no mention to the definition of the env vars via systemd. Adding a reference

This document is incomplete as there is no mention to the definition of the env vars via systemd. Adding a reference
@psanz-estc psanz-estc requested a review from a team as a code owner June 20, 2025 08:14
Copy link

🔍 Preview links for changed docs:

🔔 The preview site may take up to 3 minutes to finish building. These links will become live once it completes.

@psanz-estc
Copy link
Author

@eedugon FYI

@@ -18,3 +18,6 @@ foo=bar elastic-agent run

The environment variable can be referenced as `${env.foo}`.

::::{note}
If you run the agent as a Linux or Windows service you can also define the env variables in the service manifest as shown in this [example](/reference/fleet/host-proxy-env-vars.md)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you run the agent as a Linux or Windows service you can also define the env variables in the service manifest as shown in this [example](/reference/fleet/host-proxy-env-vars.md)
If you run the agent as a Linux or Windows service, you can also define the environment variables in the service manifest. Refer to the example in [Proxy Server connectivity using default host variables](/reference/fleet/host-proxy-env-vars.md).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants