aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/process/reaper.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2005-11-03 22:08:56 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2005-11-03 22:08:56 +0000
commitf482bd50186b8cd9150eb370b0d274446aecef2b (patch)
tree0f9c7bc4677a71f1634332d8e9342b25ce66065d /railties/lib/commands/process/reaper.rb
parent189b7907d5af46c61f19e0eaacb2a30ec1bc16dd (diff)
downloadrails-f482bd50186b8cd9150eb370b0d274446aecef2b.tar.gz
rails-f482bd50186b8cd9150eb370b0d274446aecef2b.tar.bz2
rails-f482bd50186b8cd9150eb370b0d274446aecef2b.zip
Don't reap spawn-fcgi. Closes #2727.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/commands/process/reaper.rb')
-rw-r--r--railties/lib/commands/process/reaper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/process/reaper.rb b/railties/lib/commands/process/reaper.rb
index 0064642d6a..1d74785911 100644
--- a/railties/lib/commands/process/reaper.rb
+++ b/railties/lib/commands/process/reaper.rb
@@ -32,7 +32,7 @@ class ProgramProcess
# ProgramProcess.find_by_keyword("basecamp")
def find_by_keyword(keyword)
process_lines_with_keyword(keyword).split("\n").collect { |line|
- next if line.include?("inq") || line.include?("ps -axww") || line.include?("grep")
+ next if line =~ /inq|ps -axww|grep|spawn-fcgi/
pid, *command = line.split
new(pid, command.join(" "))
}.compact