]> git.openstreetmap.org Git - chef.git/commitdiff
Fix tile server log rotation
authorTom Hughes <tom@compton.nu>
Tue, 22 Nov 2016 21:55:09 +0000 (21:55 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 22 Nov 2016 21:55:09 +0000 (21:55 +0000)
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
 }