mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01: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.
12 lines
248 B
Diff
12 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
|
|
}
|
|
}
|
|
}
|