Reopen log file after SIGHUP.
This was missed by the previous merge.
This commit is contained in:
parent
33f241d978
commit
60ed7fe598
1 changed files with 1 additions and 0 deletions
|
@ -244,6 +244,7 @@ static void sigterm_handler(int signal, short events, void *data) {
|
|||
|
||||
static void sighup_handler(int signal, short events, void *data) {
|
||||
logger(LOG_NOTICE, "Got %s signal", strsignal(signal));
|
||||
reopenlogger();
|
||||
reload_configuration();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue