re-initialize pandorafms_server after configuration change

This commit is contained in:
fbsanchez 2018-11-07 14:57:20 +01:00
parent 9c143d1d00
commit 7407431343
1 changed files with 2 additions and 0 deletions

View File

@ -667,6 +667,8 @@ sub main() {
}
logger (\%Config, $Config{'rb_product_name'} . ' Server restarting (' . $@ . ') in 5 seconds.', 1);
# Re-initialize
pandora_init(\%Config, pandora_get_initial_product_name() . ' Server');
pandora_load_config (\%Config);
pandora_restart (5);
}