README.md in capistrano-foreman-1.2.0 vs README.md in capistrano-foreman-1.3.0

- old
+ new

@@ -1,10 +1,10 @@ # 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. +Capistrano tasks for foreman and upstart/systemd. ## Installation $ gem install capistrano-foreman @@ -14,22 +14,22 @@ require 'capistrano/foreman' # Default settings set :foreman_use_sudo, false # Set to :rbenv for rbenv sudo, :rvm for rvmsudo or true for normal sudo set :foreman_roles, :all -set :foreman_template, 'upstart' -set :foreman_export_path, File.join(Dir.home, '.init') -set :foreman_options, { +set :foreman_init_system, 'upstart' +set :foreman_export_path, ->{ File.join(Dir.home, '.init') } +set :foreman_options, ->{ { app: application, log: File.join(shared_path, 'log') -} +} } ``` -See [exporting options](http://ddollar.github.io/foreman/#EXPORTING0) for an exhaustive list of foreman options. +See [exporting options](http://ddollar.github.io/foreman/#EXPORTING) for an exhaustive list of foreman options. ## Usage -Export Procfile to upstart: +Export Procfile to upstart/systemd: $ bundle exec cap production foreman:export Restart the application services: