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
- Fork it ( http://github.com//unicorn_service/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request