Skip to content

Instantly share code, notes, and snippets.

@dewski
Created November 18, 2009 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dewski/238268 to your computer and use it in GitHub Desktop.
Save dewski/238268 to your computer and use it in GitHub Desktop.
namespace :god do
desc "Starts god by loading the config path"
task :start do
run "god -c #{release_path}/config/god/app.god"
run "#{try_sudo} god start resque"
end
desc "Stops god by running quit"
task :quit do
run "god quit"
end
end
#######
# Tasks
########################
# Migrate the DB
after "deploy", "god:start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment