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

Commit

Permalink
[default] fix service restart bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Lundquist committed Jan 8, 2013
1 parent afddffd commit 9321f7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/default.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
variables( variables(
:log_file => node["statsd"]["log_file"], :log_file => node["statsd"]["log_file"],
) )
supports :start => true, :stop => true, :restart => true, :status => true
end end
end end


Expand Down Expand Up @@ -71,6 +70,8 @@
if node["platform_version"].to_f >= 9.10 if node["platform_version"].to_f >= 9.10
provider Chef::Provider::Service::Upstart provider Chef::Provider::Service::Upstart
end end
#restart_command "sudo service statsd stop && sudo service statsd start"
end end
action [ :enable, :start ] action [ :enable, :start ]
supports :start => true, :stop => true, :restart => true, :status => true
end end

0 comments on commit 9321f7f

Please sign in to comment.