Update the nodes after we have reloaded the ACL policy with sighup
This commit is contained in:
parent
7e6291c21c
commit
0c2648c188
1 changed files with 3 additions and 1 deletions
4
app.go
4
app.go
|
@ -657,7 +657,9 @@ func (h *Headscale) Serve() error {
|
|||
}
|
||||
log.Info().
|
||||
Str("path", aclPath).
|
||||
Msg("ACL policy successfully reloaded")
|
||||
Msg("ACL policy successfully reloaded, notifying nodes of change")
|
||||
|
||||
h.setLastStateChangeToNow()
|
||||
}
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue