Skip to content

danielfarrell/blazing-unicorn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Do a unicorn rolling restart on deployment

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages