Reopen log file after SIGHUP.

This was missed by the previous merge.
This commit is contained in:
Guus Sliepen 2011-06-06 21:19:30 +02:00
parent 33f241d978
commit 60ed7fe598

View file

@ -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();
}