]> git.openstreetmap.org Git - chef.git/blob - cookbooks/chef/templates/default/logrotate.erb
Switch chef and web logrotate to zstd
[chef.git] / cookbooks / chef / templates / default / logrotate.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 /var/log/chef/client.log {
4   rotate 12
5   weekly
6   compress
7   compresscmd /usr/bin/zstd
8   compressext .zst
9   compressoptions -T0 --adapt
10   uncompresscmd /usr/bin/unzstd
11   postrotate
12         systemctl try-restart chef-client.service
13   endscript
14 }