logrotate: fix g{,un}zip hardcoded path, better default conf.

This commit is contained in:
Juan RP
2010-05-06 05:14:17 +02:00
parent e28869f810
commit 1721e748c0
2 changed files with 15 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ weekly
rotate 4
# restrict maximum size of log files
#size 20M
size 512k
# create new (empty) log files after rotating old ones
create
@@ -15,6 +15,15 @@ create
# uncomment this if you want your log files compressed
compress
# Do not rotate logs if they are empty
notifempty
# Do not send emails
nomail
# Do not panic if log missing
missingok
# Logs are moved into directory for rotation
# olddir /var/log/archive