Skip to content

Commit 770d989

Browse files
Update env-provider.md (#1807)
This document is incomplete as there is no mention to the definition of the env vars via systemd. Adding a reference --------- Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]>
1 parent 13f8645 commit 770d989

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reference/fleet/env-provider.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ foo=bar elastic-agent run
1818

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

21+
::::{note}
22+
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).
23+
::::

0 commit comments

Comments
 (0)