Merge branch 'fix/pandora_ha_paths' into 'develop'

including several extra tokens in config

See merge request artica/pandorafms!2368
This commit is contained in:
Alejandro Fraguas 2019-05-23 11:58:15 +02:00
commit 09020c3b9c
1 changed files with 12 additions and 0 deletions

View File

@ -1133,6 +1133,18 @@ sub pandora_load_config {
elsif ($parametro =~ m/^fsnmp\s(.*)/i) {
$pa_config->{'fsnmp'}= clean_blank($1);
}
# Pandora HA extra
elsif ($parametro =~ m/^ha_file\s(.*)/i) {
$pa_config->{'ha_file'} = clean_blank($1);
}
elsif ($parametro =~ m/^ha_pid_file\s(.*)/i) {
$pa_config->{'ha_pid_file'} = clean_blank($1);
}
elsif ($parametro =~ m/^pandora_service_cmd\s(.*)/i) {
$pa_config->{'pandora_service_cmd'} = clean_blank($1);
}
} # end of loop for parameter #
# Set to RDBMS' standard port