Skip to content

Commit

Permalink
[service] service resource service_name is based on platform
Browse files Browse the repository at this point in the history
  • Loading branch information
portertech committed Apr 20, 2012
1 parent 0d77240 commit 0269066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/_server_service.rb
Expand Up @@ -3,6 +3,6 @@
# Recipe:: _server_service

service "redis" do
service_name "redis-server"
service_name node['platform'] =~ /ubuntu|debian/ ? "redis-server" : "redis"
action [ :enable, :start ]
end

0 comments on commit 0269066

Please sign in to comment.