public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
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"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.