X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/49b792661def4b982c21c093932d21d9e8ed9fdd..caf29106dbab75738cb0f437b11e0297cff3360d:/cookbooks/nominatim/templates/default/logrotate.apache.erb diff --git a/cookbooks/nominatim/templates/default/logrotate.apache.erb b/cookbooks/nominatim/templates/default/logrotate.apache.erb new file mode 100644 index 000000000..170ddb189 --- /dev/null +++ b/cookbooks/nominatim/templates/default/logrotate.apache.erb @@ -0,0 +1,15 @@ +# DO NOT EDIT - This file is being maintained by Chef + +/var/log/apache2/*.log { + weekly + missingok + rotate 8 + compress + delaycompress + notifempty + create 640 root adm + sharedscripts + postrotate + /usr/bin/service apache2 reload > /dev/null 2>&1 + endscript +}