sse
- Restart a Go server under systemd without dropping requests
A systemd socket holds the port, the Go server drains on SIGTERM, KillMode=mixed spares its children: restarts refuse nothing, cut no stream within the drain.
A systemd socket holds the port, the Go server drains on SIGTERM, KillMode=mixed spares its children: restarts refuse nothing, cut no stream within the drain.