README.md in capistrano-passenger-0.0.5 vs README.md in capistrano-passenger-0.1.0

- old
+ new

@@ -87,16 +87,22 @@ ### Note for RVM users https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.html#_when_the_system_has_multiple_ruby_interpreters descibes how "Once installed, you can run Phusion Passenger’s Ruby parts under any Ruby interpreter you want, even if that Ruby interpreter was not the one you originally installed Phusion Passenger with. [...] There is however one caveat if you happen to be using RVM or RVM gemsets. When you gem install Phusion Passenger using RVM," it is available only to the Ruby version where it was installed. Therefore, if you are using RVM **AND** passenger was installed via RVM **AND** it was installed under a different version of RVM than `fetch(:rvm_ruby_version)`, you need to `set :passenger_rvm_ruby_version` in your `config/deploy.rb`. -### Restarting Passenger 5 (and above) Applications +### Note for Standalone Passenger users -Passenger 5 introduced a new way to restart your application, and thus has some additional configuration options to accomodate for various server environments. +If you are running passenger in standalone mode, it is possible for you to put passenger in your Gemfile and rely on capistrano-bundler to install it with the rest of your bundle. If you are installing passenger during your deployment **AND** you are using the new restart method (see below), you need to set `:passenger_in_gemfile` to `true` in your `config/deploy.rb`. +### Restarting Passenger >= 4.0.33 Applications + +Passenger 4.0.33 introduced a new way to restart your application, and thus has some additional configuration options to accomodate for various server environments. + If you need to pass additional/different options to `:passenger_restart_command`, simply override `:passenger_restart_options`. -If you require `sudo` when restarting passenger, set `:passenger_restart_with_sudo` to `true`. **Note**: This option has no effect when restarting Passenger 4 (and lower) applications. +If you require `sudo` when restarting passenger, set `:passenger_restart_with_sudo` to `true`. **Note**: This option has no effect when restarting Passenger <= 4.0.32 applications. + +To opt out of the new way to restart, and use the deprecated approach instead, set `:passenger_restart_with_touch` to `true`. ## Contributing 1. Fork it ( https://github.com/capistrano/passenger/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`)