1 # DO NOT EDIT - This file is being maintained by Chef
3 /var/log/apache2/*.log {
13 /etc/init.d/apache2 reload > /dev/null
14 rsync --preallocate /var/log/apache2/planet.openstreetmap.org-access.log.2.gz ironbelly::logs/planet.openstreetmap.org/`date -d "-7 days" +%Y-%m-%d`.gz
17 if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
18 run-parts /etc/logrotate.d/httpd-prerotate; \