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

Use systemd-sysctl for service name on Ubuntu 15+ #65

Merged
merged 1 commit into from
Oct 29, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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