0.0
No commit activity in last 3 years
No release in over 3 years
Capistrano plugin that provide opportunity to create unicorn service for autostart unicorn
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0

Runtime

 Project Readme

UnicornService

Capistrano plugin that provide opportunity to create unicorn service. It gives capistrano task for create script in /etc/init.d/ for unicorn's deamon and update rc.d for auto start up unicorn application after reboot system

Usage

Setup

Add the library to your Gemfile:

group :development do
  gem 'unicorn_service', :require => false
end

And load it into your deployment script config/deploy.rb:

require 'unicorn_service'

Set constants:

set :application, 'your_application'
set :user, 'your_user'
set :deploy_to, '/path/to/app'

###Run

For create deamon and update rc.d run:

bundle exec cap unicorn_service:start

Contributing

  1. Fork it ( http://github.com//unicorn_service/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request