Blazing Unicorn

Unicorn recipe for blazing

If you run your applications with unicorn this lets you do a rolling restart after a deployment.

Installation

Add gem 'blazing-unicorn' to your Gemfile

Usage

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

Authors

Daniel Farrell (@danielfarrell)

License

See the MIT-LICENSE file