mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-13 15:21:30 -05:00
Update the nodes after we have reloaded the ACL policy with sighup
This commit is contained in:
4
app.go
4
app.go
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user