Permalink
Browse files

Merge pull request #7 from bbg-cookbooks/fix-service

[default] fix service restart bug
  • Loading branch information...
2 parents afddffd + 9321f7f commit 6131d4ce050eceb4fc9cf66c00703fb89d89601f @hectcastro committed Jan 8, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 recipes/default.rb
View
@@ -43,7 +43,6 @@
variables(
:log_file => node["statsd"]["log_file"],
)
- supports :start => true, :stop => true, :restart => true, :status => true
end
end
@@ -71,6 +70,8 @@
if node["platform_version"].to_f >= 9.10
provider Chef::Provider::Service::Upstart
end
+ #restart_command "sudo service statsd stop && sudo service statsd start"
end
action [ :enable, :start ]
+ supports :start => true, :stop => true, :restart => true, :status => true
end

0 comments on commit 6131d4c

Please sign in to comment.