mirror of https://github.com/mikaku/Monitorix.git
fixed to not truncate the HTTPd logfile on startup
This commit is contained in:
parent
4bbba328ac
commit
8858b11d1f
|
@ -78,7 +78,7 @@ sub httpd_setup {
|
||||||
}
|
}
|
||||||
|
|
||||||
# create the HTTPd logfile
|
# create the HTTPd logfile
|
||||||
open(OUT, "> " . $config->{httpd_builtin}->{log_file});
|
open(OUT, ">> " . $config->{httpd_builtin}->{log_file});
|
||||||
close(OUT);
|
close(OUT);
|
||||||
chown($uid, $gid, $config->{httpd_builtin}->{log_file});
|
chown($uid, $gid, $config->{httpd_builtin}->{log_file});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue