re-initialize pandorafms_server after configuration change
This commit is contained in:
parent
9c143d1d00
commit
7407431343
|
@ -667,6 +667,8 @@ sub main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
logger (\%Config, $Config{'rb_product_name'} . ' Server restarting (' . $@ . ') in 5 seconds.', 1);
|
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_load_config (\%Config);
|
||||||
pandora_restart (5);
|
pandora_restart (5);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue