2011-08-12 Sergio Martin <sergio.martin@artica.es>

* bin/pandora_server: Fixed policy queue when the server is launched
	in daemon mode for bug 3390085 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2011-08-12 09:48:31 +00:00
parent bd92ddd09e
commit 03b5ca8ba9
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2011-08-12 Sergio Martin <sergio.martin@artica.es>
* bin/pandora_server: Fixed policy queue when the server is launched
in daemon mode for bug 3390085
2011-08-12 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Added enterprise configuration tokens to

View File

@ -192,17 +192,17 @@ if (enterprise_load (\%Config) == 0) {
print_message (\%Config, " [*] Pandora FMS Enterprise module loaded.", 1);
}
# Start thread to patrol policy queue
if ($Config{'pandora_master'} == 1) {
my $thr = threads->create('pandora_process_policy_queue', (\%Config));
}
# Daemonize and put in background
if ($Config{'daemon'} == 1) {
print_message (\%Config, " [*] Backgrounding Pandora FMS Server process.\n", 1);
pandora_daemonize (\%Config);
}
# Start thread to patrol policy queue
if ($Config{'pandora_master'} == 1) {
my $thr = threads->create('pandora_process_policy_queue', (\%Config));
}
# Start the servers
pandora_startup ();