1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Update the nodes after we have reloaded the ACL policy with sighup

This commit is contained in:
Kristoffer Dalby 2022-06-11 12:54:44 +01:00
parent 7e6291c21c
commit 0c2648c188

4
app.go
View File

@ -657,7 +657,9 @@ func (h *Headscale) Serve() error {
} }
log.Info(). log.Info().
Str("path", aclPath). Str("path", aclPath).
Msg("ACL policy successfully reloaded") Msg("ACL policy successfully reloaded, notifying nodes of change")
h.setLastStateChangeToNow()
} }
default: default: