Permalink
Browse files

[default] fix service restart bug

  • Loading branch information...
1 parent afddffd commit 9321f7fc29e4519940f2af46b276394a7f0e833c Chris Lundquist 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 9321f7f

Please sign in to comment.