Skip to content

Commit

Permalink
Merge pull request #22 from monetizejs/master
Browse files Browse the repository at this point in the history
Specify upstart service provider for ubuntu >=13.10
  • Loading branch information
wohali committed Aug 21, 2014
2 parents 6392f7d + ad09910 commit 51dc821
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipes/default.rb
Expand Up @@ -68,6 +68,7 @@
end

service 'couchdb' do
provider Chef::Provider::Service::Upstart if platform?("ubuntu") && node["platform_version"].to_f >= 13.10
if platform_family?('rhel', 'fedora')
start_command '/sbin/service couchdb start &> /dev/null'
stop_command '/sbin/service couchdb stop &> /dev/null'
Expand Down

0 comments on commit 51dc821

Please sign in to comment.