Hey Ports,
net/headscale (the open-source implementation of Tailscale's control
server) supports SIGHUP for reload since their 0.16.0 release. The
attached diff removes "rc_reload=NO" from the rc.d script, and bumps
REVISION.
I've been running 0.22.3 with this diff for a couple of days now,
reloading as I make configuration tweaks, and it works perfectly.
Please commit if OK
Regards,
Bryce Chidester
[email protected]
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/headscale/Makefile,v
diff -u -p -u -p -r1.14 Makefile
--- Makefile 6 Jun 2024 02:07:05 -0000 1.14
+++ Makefile 21 Aug 2024 19:37:37 -0000
@@ -5,6 +5,7 @@ COMMENT = open source implementation of
MODGO_MODNAME = github.com/juanfont/headscale
MODGO_VERSION = v0.22.3
+REVISION = 0
DISTNAME = headscale-${MODGO_VERSION}
Index: pkg/headscale.rc
===================================================================
RCS file: /cvs/ports/net/headscale/pkg/headscale.rc,v
diff -u -p -u -p -r1.2 headscale.rc
--- pkg/headscale.rc 11 Mar 2022 19:46:04 -0000 1.2
+++ pkg/headscale.rc 21 Aug 2024 19:37:37 -0000
@@ -8,6 +8,5 @@ daemon_flags="serve"
. /etc/rc.d/rc.subr
rc_bg=YES
-rc_reload=NO
rc_cmd $1