Unicorn recipe for blazing
If you run your applications with unicorn this lets you do a rolling restart after a deployment.
Add gem 'blazing-unicorn'
to your Gemfile
Enable the recipes you want in your blazing configuration file. Options can be provided in the recipe call or with the target method. Target options have precedence over recipe options.
# Restart unicorn
#
# recipe :rolling_restart, [options]
#
# Options:
#
# :pid_file (Set the location of the pid file, default: tmp/pids/unicorn.pid)
#
# Example:
recipe :rolling_restart
Daniel Farrell (@danielfarrell)
See the MIT-LICENSE file