mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 15:23:26 +00:00
37947d59ea
The current version of headscale does not react to SIGTERMs and so it can only be terminated by a SIGKILL at the moment. This commit provides a patch to fix this.
13 lines
248 B
Diff
13 lines
248 B
Diff
diff --git a/hscontrol/app.go b/hscontrol/app.go
|
|
index b8dceba..4bcf019 100644
|
|
--- a/hscontrol/app.go
|
|
+++ b/hscontrol/app.go
|
|
@@ -821,6 +821,7 @@ func (h *Headscale) Serve() error {
|
|
|
|
// And we're done:
|
|
cancel()
|
|
+ return
|
|
}
|
|
}
|
|
}
|