balepc-zombie_passenger_killer 0.2.1.patched → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/zombie_passenger_killer +1 -6
- data/lib/zombie_passenger_killer/version.rb +1 -1
- metadata +7 -10
data/bin/zombie_passenger_killer
CHANGED
@@ -21,7 +21,6 @@ BANNER
|
|
21
21
|
opts.on("-g", "--grace [SECONDS]", Integer, "Wait SECONDS before hard-killing (-9) a process (default: 5)") {|i| options[:grace]=i }
|
22
22
|
opts.on("-i", "--interval [SECONDS]", Integer, "Check every SECONDS (default: 10)") {|i| options[:interval]=i }
|
23
23
|
opts.on("-p", "--pattern [PATTERN]", String, "Find processes with this pattern (default: ' Rack: ')") {|i| options[:pattern]=i }
|
24
|
-
opts.on("-n", "--no-daemon","Do not start daemon. Check once and exit") {|i| options[:no_daemon]=i }
|
25
24
|
opts.on("-r", "--rvm-sudo","Use `rvmsudo` to see passenger-status") {|i| options[:rvm_sudo]=i }
|
26
25
|
opts.on("-h", "--help","Show this") { puts opts; exit }
|
27
26
|
opts.on("-v", "--version","Show Version"){ puts version; exit }
|
@@ -32,8 +31,4 @@ $stdout.sync = true
|
|
32
31
|
puts "PID: #{$$} Version: #{version} Started at #{Time.now}"
|
33
32
|
|
34
33
|
$0 = File.basename(__FILE__) + '-' + version
|
35
|
-
|
36
|
-
ZombiePassengerKiller::Reaper.new(options).hunt_zombies
|
37
|
-
else
|
38
|
-
ZombiePassengerKiller::Reaper.new(options).lurk
|
39
|
-
end
|
34
|
+
ZombiePassengerKiller::Reaper.new(options).lurk
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: balepc-zombie_passenger_killer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 21
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
9
|
- 1
|
10
|
-
|
11
|
-
version: 0.2.1.patched
|
10
|
+
version: 0.2.1
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Michael Grosser
|
@@ -59,14 +58,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
59
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
59
|
none: false
|
61
60
|
requirements:
|
62
|
-
- - "
|
61
|
+
- - ">="
|
63
62
|
- !ruby/object:Gem::Version
|
64
|
-
hash:
|
63
|
+
hash: 3
|
65
64
|
segments:
|
66
|
-
-
|
67
|
-
|
68
|
-
- 1
|
69
|
-
version: 1.3.1
|
65
|
+
- 0
|
66
|
+
version: "0"
|
70
67
|
requirements: []
|
71
68
|
|
72
69
|
rubyforge_project:
|