a capistrano recipe to deploy supervisord based services.
Ruby
Latest commit 4438a8d Apr 29, 2013 Yamashita Yuu 0.0.3git
Permalink
Failed to load latest commit information.
lib 0.0.3git Apr 29, 2013
.gitignore created project Aug 29, 2012
Gemfile created project Aug 29, 2012
LICENSE created project Aug 29, 2012
README.md created project Aug 29, 2012
Rakefile created project Aug 29, 2012
capistrano-supervisord.gemspec this gem does not support capistrano v3 Apr 26, 2013

README.md

capistrano-supervisord

a capistrano recipe to deploy supervisord based services.

Installation

Add this line to your application's Gemfile:

gem 'capistrano-supervisord'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-supervisord

Usage

This recipe will setup supervisord during deploy:setup task.

To setup supervisord for your application, add following in you config/deploy.rb.

# in "config/deploy.rb"
require 'capistrano-supervisord'

Following options are available to manage your supervisord.

  • :supervisord_configure_cleanup_files - files to remove on configuring supervisord.
  • :supervisord_configure_files - list of configuration files for supervisord.
  • :supervisord_configure_path - the root path of configuration files. use / by default.
  • :supervisord_configure_source_path - the path to the templates of configuration files.
  • :supervisord_install_apt_packages - package name of supervisord.
  • :supervisord_install_method - install method. install from :apt by default.
  • :supervisord_service_method - service running method. use :sysvinit by default.
  • :supervisord_service_name - service name of supervisord. use supervisor by default.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Author

License

MIT