mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Changed pandora_server.error perms to 664
This commit is contained in:
parent
6bf672a846
commit
369bbfba7f
@ -1085,6 +1085,8 @@ sub pandora_start_log ($){
|
|||||||
|
|
||||||
# Dump all errors to errorlog
|
# Dump all errors to errorlog
|
||||||
open (STDERR, ">> " . $pa_config->{'errorlog_file'}) or die " [ERROR] Pandora FMS can't write to Errorlog. Aborting : \n $! \n";
|
open (STDERR, ">> " . $pa_config->{'errorlog_file'}) or die " [ERROR] Pandora FMS can't write to Errorlog. Aborting : \n $! \n";
|
||||||
|
my $mode = 0664;
|
||||||
|
chmod $mode, $pa_config->{'errorlog_file'};
|
||||||
print STDERR strftime ("%Y-%m-%d %H:%M:%S", localtime()) . ' - ' . $pa_config->{'servername'} . " Starting Pandora FMS Server. Error logging activated.\n";
|
print STDERR strftime ("%Y-%m-%d %H:%M:%S", localtime()) . ' - ' . $pa_config->{'servername'} . " Starting Pandora FMS Server. Error logging activated.\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user