Created
November 10, 2009 22:56
-
-
Save defunkt/231351 to your computer and use it in GitHub Desktop.
Unicorn Capistrano Tasks
This file contains hidden or 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
# http://unicorn.bogomips.org/SIGNALS.html | |
namespace :unicorn do | |
task :start, :roles => :app do | |
sudo "god start unicorn" | |
end | |
task :stop, :roles => :app do | |
sudo "god stop unicorn" | |
end | |
task :restart, :roles => :app do | |
sudo "god restart unicorn" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment