Permalink
Browse files

Merge pull request #23 from awestendorf/runit-restart-reference

Fix notification reference to runit service and add delay.
  • Loading branch information...
2 parents 43dfb58 + ba15079 commit a0563b5c8bc4fa5d61c6ae2f31ecbb3c4f174307 @hectcastro committed Sep 10, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 recipes/default.rb
View
@@ -6,7 +6,7 @@
repository node["statsd"]["repository"]
reference node["statsd"]["reference"]
action :sync
- notifies :restart, "runit_service[statsd]"
+ notifies :restart, "service[statsd]", :delayed
end
directory node["statsd"]["conf_dir"] do
@@ -45,7 +45,7 @@
:prefix_gauge => node["statsd"]["graphite"]["prefix_gauge"],
:prefix_set => node["statsd"]["graphite"]["prefix_set"]
)
- notifies :restart, "runit_service[statsd]"
+ notifies :restart, "service[statsd]", :delayed
end
user node["statsd"]["username"] do

0 comments on commit a0563b5

Please sign in to comment.