Ignore errors reloading apache on tile servers
authorTom Hughes <tom@compton.nu>
Thu, 15 May 2014 21:34:44 +0000 (22:34 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 15 May 2014 21:34:44 +0000 (22:34 +0100)
There doesn't seem to be any progress getting mod_tile to stop
generating noise, so lets just ignore it.

cookbooks/tile/templates/default/logrotate.apache.erb

index 9a82d4ca8258734031ed03e9899f581bd7048813..ebe2806131e7bf2c8f75bed5f52fa833f43817a1 100644 (file)
@@ -11,6 +11,6 @@
   create 640 root adm
   sharedscripts
   postrotate
-    /usr/bin/service apache2 reload > /dev/null
+    /usr/bin/service apache2 reload > /dev/null 2>&1
   endscript
 }