]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/logrotate.apache.erb
Set a limit on expiring long way segments
[chef.git] / cookbooks / tile / templates / default / logrotate.apache.erb
index 9a82d4ca8258734031ed03e9899f581bd7048813..1d7e24e45fed23820c0821fc735dae9a6f1d23c1 100644 (file)
@@ -4,13 +4,13 @@
   daily
   size 1G
   missingok
-  rotate 52
+  rotate 14
   compress
   delaycompress
   notifempty
   create 640 root adm
   sharedscripts
   postrotate
-    /usr/bin/service apache2 reload > /dev/null
+    /bin/systemctl reload apache2
   endscript
 }