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.43'
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
@@ -1,4 +1,4 @@
1
- - 0.1.37..43
1
+ - 0.1.37..44
2
2
  try to fix stopping and restarting of unicorn
3
3
 
4
4
  - 0.1.34 / 0.1.35 / 0.1.36
@@ -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 #{unicorn_pid} || echo 'Unicorn not running. Nothing to kill.'"
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-deploy-management
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.43
4
+ version: 0.1.44
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: