1 # DO NOT EDIT - This file is being maintained by Chef
3 /var/log/apache2/*.log {
9 compresscmd /usr/bin/zstd
12 uncompresscmd /usr/bin/unzstd
17 /bin/systemctl reload apache2
18 /usr/bin/rsync --preallocate /var/log/apache2/planet.openstreetmap.org-access.log.2.zst backup.openstreetmap.org::logs/planet.openstreetmap.org/`date -d "-7 days" +%Y-%m-%d`.zst
21 if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
22 run-parts /etc/logrotate.d/httpd-prerotate; \