Don't reap the spawner or reaper scripts either. Closes #2727.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper
2005-11-04 05:55:11 +00:00
parent 56ade75131
commit fad2aae72b

View File

@@ -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 =~ /inq|ps -axww|grep|spawn-fcgi/
next if line =~ /inq|ps -axww|grep|spawn-fcgi|spawner|reaper/
pid, *command = line.split
new(pid, command.join(" "))
}.compact