Sha256: ac72baa20a5562e28a76c8bec49975d6a08b7ff3b11040a68bac1c4952c255c5
Contents?: true
Size: 481 Bytes
Versions: 11
Compression:
Stored size: 481 Bytes
Contents
namespace :deploy do desc "Zero-downtime restart of Unicorn" task :restart, :except => { :no_release => true } do run "kill -s USR2 `cat /tmp/unicorn.my_site.pid`" end desc "Start unicorn" task :start, :except => { :no_release => true } do run "cd #{current_path} ; bundle exec unicorn_rails -c config/unicorn.rb -D" end desc "Stop unicorn" task :stop, :except => { :no_release => true } do run "kill -s QUIT `cat /tmp/unicorn.my_site.pid`" end end
Version data entries
11 entries across 11 versions & 1 rubygems