README.md in capistrano-foreman-1.0.0 vs README.md in capistrano-foreman-1.1.0

- old
+ new

@@ -1,8 +1,8 @@ # Capistrano Foreman -[![Code Climate](https://codeclimate.com/github/hyperoslo/capistrano-foreman.png)](https://codeclimate.com/github/hyperoslo/capistrano-foreman) +[![Code Climate](https://img.shields.io/codeclimate/github/hyperoslo/capistrano-foreman.svg?style=flat)](https://codeclimate.com/github/hyperoslo/capistrano-foreman) Capistrano tasks for foreman and upstart. ## Installation @@ -12,29 +12,30 @@ ```ruby require 'capistrano/foreman' # Default settings -set :foreman_sudo, 'sudo' # Set to `rvmsudo` if you're using RVM -set :foreman_upstart_path, '/etc/init/sites' # Set to `/etc/init/` if you don't have a sites folder +set :foreman_use_sudo, false +set :foreman_roles, :all +set :foreman_template, 'upstart' +set :foreman_export_path, File.join(Dir.home, '.init') set :foreman_options, { app: application, - log: "#{shared_path}/log", - user: user, + log: File.join(shared_path, 'log') } ``` See [exporting options](http://ddollar.github.io/foreman/#EXPORTING0) for an exhaustive list of foreman options. ## Usage Export Procfile to upstart: - $ cap foreman:export + $ bundle exec cap production foreman:export Restart the application services: - $ cap foreman:restart + $ bundle exec cap production foreman:restart ## Credits Hyper made this. We're a digital communications agency with a passion for good code, and if you're using this library we probably want to hire you.