Commit e4d0349a authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Use xz to compress old logs

parent 0467e56e
...@@ -36,8 +36,12 @@ rotate 2 ...@@ -36,8 +36,12 @@ rotate 2
# set to root, group set to sys, and permissions 644 # set to root, group set to sys, and permissions 644
create 0664 root sys create 0664 root sys
# Compress the backups with gzip # Compress the backups with xz
compress compress
compresscmd /bin/xz
uncompresscmd /bin/unxz
compressext .xz
compressoptions -9
# No packages own lastlog or wtmp -- rotate them here # No packages own lastlog or wtmp -- rotate them here
/var/log/wtmp { /var/log/wtmp {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment