Created
November 18, 2009 21:20
-
-
Save dewski/238268 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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