reload config upon SIGHUP
Michael
This commit is contained in:
parent
91492773b1
commit
479562ad2b
@ -167,6 +167,8 @@ short int child_configure (child_config_t type, unsigned int val)
|
||||
static void child_sighup_handler (int sig)
|
||||
{
|
||||
if (sig == SIGHUP) {
|
||||
reload_config ();
|
||||
|
||||
#ifdef FILTER_ENABLE
|
||||
filter_reload ();
|
||||
#endif /* FILTER_ENABLE */
|
||||
@ -429,6 +431,8 @@ void child_main_loop (void)
|
||||
if (received_sighup) {
|
||||
truncate_log_file ();
|
||||
|
||||
reload_config ();
|
||||
|
||||
#ifdef FILTER_ENABLE
|
||||
filter_reload ();
|
||||
#endif /* FILTER_ENABLE */
|
||||
|
Loading…
Reference in New Issue
Block a user