You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
systemd: tighten gotrue.service deps and startup behavior
Add stronger ordering and dependency constraints to reduce startup race
conditions and noisy flapping:
- Wait for `cloud-init`, `supabase-admin-agent_salt`, `apparmor`,
`systemd-sysctl`, and `ufw` to complete before starting.
- Require `network-online.target` and `systemd-resolved` for stable DNS
resolution; note Go's resolver can race with early boot DNS.
- Ensure `postgresql.service` is online before starting auth to avoid
misleading error noise during slow boots.
- Lower `StartLimitIntervalSec` and `StartLimitBurst` to reduce
repeated restarts in failure scenarios.
- Switch service type to `exec` instead of `simple`. This removes the tiny
window in which systemd is supervising the wrapper process instead of the
Go binary.
These changes aim to rule out capability changes, socket reuse races, and
incomplete firewall/network config as causes of EADDRINUSE errors and
unstable startup.
0 commit comments