Skip to content

fix: auto-start gateway at boot when configured#71

Merged
vignesh07 merged 1 commit into
mainfrom
fix/31-autostart-gateway
Feb 11, 2026
Merged

fix: auto-start gateway at boot when configured#71
vignesh07 merged 1 commit into
mainfrom
fix/31-autostart-gateway

Conversation

@vignesh07

Copy link
Copy Markdown
Owner

Fixes #31.

Railway deployments need the gateway running continuously for polling channels (Telegram/Discord/etc.). Previously the wrapper only started the gateway lazily on the first HTTP request.

This change auto-starts the gateway on wrapper boot if a config is already present, and fails soft (logs error) so it won’t break the wrapper.

pnpm lint passes.

@vignesh07 vignesh07 merged commit 40457b1 into main Feb 11, 2026
1 check passed
@vignesh07 vignesh07 deleted the fix/31-autostart-gateway branch February 11, 2026 04:51
gginesta pushed a commit to gginesta/clawdbot-railway-template that referenced this pull request Feb 17, 2026
Merges 30 upstream commits including:
- CRITICAL: Remove deprecated CLAWDBOT_* references (vignesh07#94)
- Pin OpenClaw build ref to latest release tag (vignesh07#77)
- Set gateway.trustedProxies for Railway proxy (vignesh07#102)
- Add /healthz endpoint with TCP gateway probe (vignesh07#82, vignesh07#107)
- Auto-start gateway at boot when configured (vignesh07#71)
- Run openclaw doctor on gateway start failure (vignesh07#87)
- Harden proxy errors, shutdown, and runCmd timers (vignesh07#116)
- Setup page improvements (pairing, plugins, debug console)
- Add pnpm to runtime image for openclaw update (vignesh07#72)
- Telegram/Discord diagnostics + credential dir handling

Our customizations (Tailscale, Syncthing, Brave browser) preserved.
k7cfo pushed a commit to k7cfo/railclaw that referenced this pull request Feb 21, 2026
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.

Gateway doesn't auto-start at boot — breaks Telegram/Discord polling

1 participant