Created
November 10, 2009 22:56
-
-
Save defunkt/231351 to your computer and use it in GitHub Desktop.
Revisions
-
defunkt created this gist
Nov 10, 2009 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ # 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