brightbox 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,8 @@ namespace :deploy do
42
42
  desc "Hard restart your passenger instances by killing the dispatcher"
43
43
  task :hard_restart, :roles => :app, :except => {:no_release => true} do
44
44
  soft_restart
45
- sudo "kill \$( passenger-memory-stats | grep 'Passenger spawn server' | awk '{ print \$1 }' )"
45
+ run "pkill -f '^Rails: #{deploy_to}' || true"
46
+ run "pkill -f '^Passenger ApplicationSpawner: #{deploy_to}' || true"
46
47
  end
47
48
 
48
49
  desc "Soft restart you passenger instances by issuing touch tmp/restart.txt"
@@ -1,5 +1,5 @@
1
1
  module Brightbox
2
- VERSION = "2.2.1"
2
+ VERSION = "2.2.2"
3
3
  end
4
4
  # Set global scope version so that OptionParser picks it up.
5
5
  ::Version = Brightbox::VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brightbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Leach
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-01-12 00:00:00 +00:00
14
+ date: 2009-01-13 00:00:00 +00:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency