Support reloading allowed stats IPs.

This commit is contained in:
Joachim Bauch 2024-05-28 12:18:08 +02:00
commit 2a1fd2e018
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02
3 changed files with 44 additions and 10 deletions

View file

@ -417,6 +417,7 @@ loop:
log.Printf("Could not read configuration from %s: %s", *configFlag, err)
} else {
hub.Reload(config)
server.Reload(config)
}
case syscall.SIGUSR1:
log.Printf("Received SIGUSR1, scheduling server to shutdown")