I started the Gateway via the service and my env vars disappeared What now

Two common fixes:
Put the missing keys in ~/.openclaw/.env so they’re picked up even when the service doesn’t inherit your shell env.
Enable shell import (opt‑in convenience):
{
env: {
shellEnv: {
enabled: true,
timeoutMs: 15000,
},
},
}
This runs your login shell and imports only missing expected keys (never overrides). Env var equivalents: OPENCLAW_LOAD_SHELL_ENV=1, OPENCLAW_SHELL_ENV_TIMEOUT_MS=15000.