Skip to content

Instantly share code, notes, and snippets.

@chef
Forked from powdahound/gist:302070
Created February 11, 2010 22:52
Show Gist options
  • Save chef/302075 to your computer and use it in GitHub Desktop.
Save chef/302075 to your computer and use it in GitHub Desktop.
# which goes first!?
template "/etc/init.d/reflex" do
source "reflex.init.erb"
owner "root"
group "root"
mode "644"
end
service "reflex" do
action [ :enable, :start ]
subscribes :restart, resources(:template => "/etc/init.d/reflex")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment