Skip to content

Instantly share code, notes, and snippets.

@phlegx
Created November 7, 2012 11:44
Show Gist options
  • Select an option

  • Save phlegx/4031022 to your computer and use it in GitHub Desktop.

Select an option

Save phlegx/4031022 to your computer and use it in GitHub Desktop.
namespace :daemon do
desc "Start, stop and restart daemon"
task :restart do
run("/etc/init.d/daemon-#{STAGE} restart")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment