diff options
Diffstat (limited to 'railties/lib/commands/process/reaper.rb')
-rw-r--r-- | railties/lib/commands/process/reaper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/commands/process/reaper.rb b/railties/lib/commands/process/reaper.rb index 375a78e21b..0790cfcce9 100644 --- a/railties/lib/commands/process/reaper.rb +++ b/railties/lib/commands/process/reaper.rb @@ -86,7 +86,7 @@ end OPTIONS = { :action => "restart", :pid_path => File.expand_path(RAILS_ROOT + '/tmp/pids'), - :pattern => "dispatch.*.pid" + :pattern => "dispatch.[0-9]*.pid" } ARGV.options do |opts| @@ -132,4 +132,4 @@ ARGV.options do |opts| opts.parse! end -Killer.process(OPTIONS[:action], OPTIONS[:pid_path], OPTIONS[:pattern])
\ No newline at end of file +Killer.process(OPTIONS[:action], OPTIONS[:pid_path], OPTIONS[:pattern]) |