Skip to content

fix(web): pass -config before web in the login service - #32

Merged
cornedor merged 1 commit into
mainfrom
autostart-config-order
Nov 20, 2026
Merged

cornedor merged 1 commit into
mainfrom
autostart-config-order

Conversation

@cornedor

Copy link
Copy Markdown
Owner

Start at login wrote laneway web -no-open -addr … -config <path> into the systemd unit / LaunchAgent. -config is a global flag, so the web command rejected it and the service exited with status 2 on every start. It only showed up when laneway web was started with an explicit -config.

The argv now puts -config <path> before web. The test asserted the broken order; it now checks the order with and without -config. Checked with a built binary: the old order exits 2, the new order starts and serves /api/session with the given config.

@cornedor
cornedor merged commit 5d7a1b0 into main Nov 20, 2026
7 checks passed
@cornedor
cornedor deleted the autostart-config-order branch November 20, 2026 11:44
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.

1 participant