capistrano-tools 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/capistrano-tools/unicorn.rb +4 -4
- data/lib/capistrano-tools/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -16,10 +16,10 @@ module Capistrano::Tools
|
|
16
16
|
def self.load_into(capistrano_config)
|
17
17
|
capistrano_config.load do
|
18
18
|
before(Capistrano::Tools::Unicorn::TASKS) do
|
19
|
-
_cset(:unicorn_pid) {
|
20
|
-
_cset(:unicorn_env) { fetch(:
|
21
|
-
_cset(:unicorn_bin) {
|
22
|
-
_cset(:unicorn_bundle) { fetch(:
|
19
|
+
_cset(:unicorn_pid) { "#{shared_path}/pids/unicorn.pid" }
|
20
|
+
_cset(:unicorn_env) { fetch(:rails_env, fetch(:env, 'production')) }
|
21
|
+
_cset(:unicorn_bin) { "unicorn" }
|
22
|
+
_cset(:unicorn_bundle) { fetch(:bundle_cmd, 'bundle') }
|
23
23
|
end
|
24
24
|
|
25
25
|
# Check if a remote process exists using its pid file
|