X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f5c9ea64c257d7d350c01eaadbc36fe950c06091..699e157e3d708f38064eea9072aa210fe5ccac30:/cookbooks/chef/templates/default/logrotate.erb diff --git a/cookbooks/chef/templates/default/logrotate.erb b/cookbooks/chef/templates/default/logrotate.erb index 21d0eb6aa..ecaf25219 100644 --- a/cookbooks/chef/templates/default/logrotate.erb +++ b/cookbooks/chef/templates/default/logrotate.erb @@ -5,10 +5,6 @@ weekly compress postrotate -<% if node[:lsb][:release].to_f >= 15.10 -%> systemctl try-restart chef-client.service -<% else -%> - restart chef-client > /dev/null -<% end -%> endscript }