]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/logrotate.apache.erb
Fix tile server log rotation
[chef.git] / cookbooks / tile / templates / default / logrotate.apache.erb
index ebe2806131e7bf2c8f75bed5f52fa833f43817a1..b5ccccccad3c142cec54b0bda23f40f5a94ac2d0 100644 (file)
@@ -11,6 +11,6 @@
   create 640 root adm
   sharedscripts
   postrotate
-    /usr/bin/service apache2 reload > /dev/null 2>&1
+    /bin/systemctl reload apache2
   endscript
 }