Files
kandev/apps/backend/internal/agent/runtime/agentctl/launcher/sysprocattr_linux.go
T
2026-06-26 10:09:23 +01:00

15 lines
318 B
Go

//go:build linux
package launcher
import "syscall"
func buildSysProcAttr() *syscall.SysProcAttr {
return &syscall.SysProcAttr{
// Keep standalone agentctl out of the terminal foreground process
// group so Ctrl+C is sequenced by the backend shutdown path.
Setpgid: true,
Pdeathsig: syscall.SIGTERM,
}
}