capistrano-deploy-management 0.1.43 → 0.1.44
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'capistrano-deploy-management'
|
4
4
|
s.description = 'Collection of Capistrano recipes for deploying Rails apps into high-performance environments'
|
5
|
-
s.version = '0.1.
|
5
|
+
s.version = '0.1.44'
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
7
|
s.authors = ['Dominik Rodler']
|
8
8
|
s.email = ['dominik.rodler@gmail.com']
|
data/changelog.md
CHANGED
@@ -25,7 +25,7 @@ module CapistranoDeployManagement
|
|
25
25
|
|
26
26
|
desc 'Stop unicorn.'
|
27
27
|
task :stop, :roles => :app do
|
28
|
-
run "cd #{current_path} && test -s #{unicorn_pidfile} && #{try_sudo} kill -QUIT #{
|
28
|
+
run "cd #{current_path} && test -s #{unicorn_pidfile} && #{try_sudo} kill -QUIT $(cat #{unicorn_pidfile}) || echo 'Unicorn not running. Nothing to kill.'"
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|