Files
privatae-bastion/client-go/relaunch_unix.go
T
Privatae e4c9b69b46
ci / personal-data (push) Successful in 5s
ci / test (push) Successful in 3m4s
ci / fuzz (push) Successful in 3m45s
bastion 0.53.2
2026-10-20 04:42:14 +00:00

10 lines
377 B
Go

//go:build !windows
package main
// relaunchAfterUpdate is a no-op off Windows: a Linux install is a systemd unit
// with Restart=always (deploy/install.sh writes it), so exiting IS the restart
// and starting a second process here would race the one systemd is about to
// bring up. See relaunch_windows.go for why Windows cannot rely on that.
func relaunchAfterUpdate() {}