Skip to content

Instantly share code, notes, and snippets.

@powdahound
Created February 11, 2010 22:51
Show Gist options
  • Save powdahound/302070 to your computer and use it in GitHub Desktop.
Save powdahound/302070 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"
notifies :restart, resources(:service => "reflex")
end
service "reflex" do
action [ :enable, :start ]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment