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