]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/logrotate.apache.erb
Disable progress messages for osm2pgsql
[chef.git] / cookbooks / tile / templates / default / logrotate.apache.erb
index ebe2806131e7bf2c8f75bed5f52fa833f43817a1..1d7e24e45fed23820c0821fc735dae9a6f1d23c1 100644 (file)
@@ -4,13 +4,13 @@
   daily
   size 1G
   missingok
   daily
   size 1G
   missingok
-  rotate 52
+  rotate 14
   compress
   delaycompress
   notifempty
   create 640 root adm
   sharedscripts
   postrotate
   compress
   delaycompress
   notifempty
   create 640 root adm
   sharedscripts
   postrotate
-    /usr/bin/service apache2 reload > /dev/null 2>&1
+    /bin/systemctl reload apache2
   endscript
 }
   endscript
 }