Skip to main content
One daemon.json file configures the daemon and every ohd command. Precedence, highest first: command-line flags → environment variables → daemon.json → defaults. ohd install <flags> persists the given flags into the file (an omitted flag keeps its current value), and ohd restart applies the result — see Install & service lifecycle. The file lives at --configOH_DAEMON_CONFIGdaemon.json inside the default data dir: An invalid value refuses to boot with an actionable message rather than being second-guessed; the exact messages are quoted in Troubleshooting.

Fields

Flag and environment overrides

Each field’s command-line flag (persisted by ohd install) and environment variable, where one exists.

The oidc object

The auditForwarding object

The proxy object

Environment variables

Every OH_* variable the daemon side reads. Secret material is env-only by design — passphrases and passwords never ride flags or the config file.

Constants