]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/logrotate.apache.erb
Reduce log history for render servers
[chef.git] / cookbooks / tile / templates / default / logrotate.apache.erb
index 9a82d4ca8258734031ed03e9899f581bd7048813..586d8660762971334720cd767c9cba6843bd39a9 100644 (file)
@@ -4,13 +4,13 @@
   daily
   size 1G
   missingok
-  rotate 52
+  rotate 28
   compress
   delaycompress
   notifempty
   create 640 root adm
   sharedscripts
   postrotate
-    /usr/bin/service apache2 reload > /dev/null
+    /bin/systemctl reload apache2
   endscript
 }