]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/templates/default/logrotate.erb
Add alerts for planet dumps and replication feeds
[chef.git] / cookbooks / chef / templates / default / logrotate.erb
index 21d0eb6aa44cb9a88c8b3e7926cc466d49b48ccd..ecaf252193d2936a0593060c613927add73a9d89 100644 (file)
@@ -5,10 +5,6 @@
   weekly
   compress
   postrotate
   weekly
   compress
   postrotate
-<% if node[:lsb][:release].to_f >= 15.10 -%>
        systemctl try-restart chef-client.service
        systemctl try-restart chef-client.service
-<% else -%>
-       restart chef-client > /dev/null
-<% end -%>
   endscript
 }
   endscript
 }