docs(endpoint-agent): document setting env vars on an installed service#276
Merged
Conversation
Add a generic "Setting Environment Variables for an Installed Service" section to the CLI & Environment reference, covering the per-platform procedure (macOS launchd plist, Linux systemd drop-in, Windows service environment) for any sensor environment variable. The env-var section intro already pointed users at their service manager but never showed how; this fills that gap. Also link the reverse-DNS hostname page to the new section, since LC_DISABLE_REVERSE_DNS_HOSTNAME is a common variable customers need to set on an already-installed sensor. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a generic Setting Environment Variables for an Installed Service section to the Agent CLI & Environment Reference, with the per-platform procedure for applying any sensor environment variable to an already-installed service:
EnvironmentVariablesdict in/Library/LaunchDaemons/com.refractionpoint.rphcp.plist, validate + reload (plutil -lint,bootout/bootstrap), verification, plus a no-editlaunchctl debugtest path and MDM/reinstall caveats.systemctl edit limacharliedrop-in.setx /Mvs. scopedEnvironmentREG_MULTI_SZunderrphcpsvc.It also:
LC_DISABLE_REVERSE_DNS_HOSTNAMEis a common variable customers set on an installed sensor.Why
The reference listed the variables and said to set them via the service manager, but never showed how. Customers trying to set e.g.
LC_DISABLE_REVERSE_DNS_HOSTNAMEon an installed macOS sensor had no documented procedure for editing the launchd plist. This is written generically so it covers every variable in the reference, not just one.Notes
limacharlie, Windows servicerphcpsvc, macOS labelcom.refractionpoint.rphcp).markdownlint-cli2locally (offline); please rely on CI lint.🤖 Generated with Claude Code