logrotate: fix g{,un}zip hardcoded path, better default conf.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user