Skip to content

Instantly share code, notes, and snippets.

@ozeias
Forked from defunkt/unicorn.rb
Created May 22, 2010 21:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ozeias/410362 to your computer and use it in GitHub Desktop.
Save ozeias/410362 to your computer and use it in GitHub Desktop.
# 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