fixed to not truncate the HTTPd logfile on startup

This commit is contained in:
Jordi Sanfeliu 2013-02-15 11:55:20 +01:00
parent 4bbba328ac
commit 8858b11d1f
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ sub httpd_setup {
}
# create the HTTPd logfile
open(OUT, "> " . $config->{httpd_builtin}->{log_file});
open(OUT, ">> " . $config->{httpd_builtin}->{log_file});
close(OUT);
chown($uid, $gid, $config->{httpd_builtin}->{log_file});