Skip to content
This repository was archived by the owner on Nov 8, 2019. It is now read-only.

Commit

Permalink
Merge pull request #65 from localmotors/ubuntu16-systemd
Browse files Browse the repository at this point in the history
Use systemd-sysctl for service name on Ubuntu 15+
  • Loading branch information
svanzoest authored Oct 29, 2016
2 parents 1fdef06 + d590d70 commit 5776843
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipes/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
service_name 'procps-instance' if node['platform_version'].to_f >= 14.10
provider Chef::Provider::Service::Upstart
elsif node['platform_version'].to_f >= 15.04
service_name 'systemd-sysctl'
provider Chef::Provider::Service::Init::Systemd
end
when 'suse'
Expand Down

0 comments on commit 5776843

Please sign in to comment.