]> git.openstreetmap.org Git - chef.git/commitdiff
Ubuntu 14.04 does php-fpm log rotation by default
authorTom Hughes <tom@compton.nu>
Mon, 9 Jun 2014 07:25:50 +0000 (08:25 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 9 Jun 2014 07:25:50 +0000 (08:25 +0100)
cookbooks/nominatim/templates/default/logrotate.nominatim.erb

index 5c19b31bbbe9ada20ab1434a80368e80c9c136ff..a8952fe8fb616633374bc7844f3bd5456117d34f 100644 (file)
@@ -9,7 +9,7 @@
   notifempty
   create 640 nominatim adm
 }
-
+<% if node[:lsb][:release].to_f < 14.04 -%>
 
 /var/log/php5-fpm.log {
   weekly
@@ -21,3 +21,4 @@
     /usr/bin/service php5-fpm restart > /dev/null
   endscript
 }
+<% end -%>