Skip to content

Commit

Permalink
Update the nodes after we have reloaded the ACL policy with sighup
Browse files Browse the repository at this point in the history
  • Loading branch information
kradalby committed Jun 11, 2022
1 parent 7e6291c commit 0c2648c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0c2648c

Please sign in to comment.