Create a gist now

Instantly share code, notes, and snippets.

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