Skip to content

fix: gw relay systemd restart#62

Merged
x032205 merged 3 commits into
mainfrom
fix/gw-relay-systemd-restart
Nov 20, 2025
Merged

fix: gw relay systemd restart#62
x032205 merged 3 commits into
mainfrom
fix/gw-relay-systemd-restart

Conversation

@x032205
Copy link
Copy Markdown
Member

@x032205 x032205 commented Nov 19, 2025

Fixes issue with gateway & relay restarts when running with systemd.
Also fixes issue where --domain flag isn't read for auto relay selection in systemd command

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Nov 19, 2025

Greptile Summary

  • Fixed systemd Type=notify services not properly signaling ready state, which prevented successful restarts of gateway and relay services
  • Fixed --domain flag being ignored during automatic relay selection in systemd install command

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The changes are straightforward bug fixes that add missing systemd notifications and fix flag handling. The systemd.SdNotify calls are placed correctly after service initialization and follow the same pattern already used in v1 gateway/relay. The domain flag fix ensures config.INFISICAL_URL is set before it's used in API calls, matching the behavior of other commands.
  • No files require special attention

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 files reviewed, no comments

Edit Code Review Agent Settings | Greptile
React with 👍 or 👎 to share your feedback on this new summary format

Comment thread packages/gateway-v2/gateway.go Outdated
@x032205 x032205 merged commit 67d1c97 into main Nov 20, 2025
3 checks passed
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.

2 participants