protected Method

RailsFCGIHandler.restart!

There's no documentation for this item.

Source Code

# File fcgi_handler.rb, line 174
def restart!
  config       = ::Config::CONFIG
  ruby         = File::join(config['bindir'], config['ruby_install_name']) + config['EXEEXT']
  command_line = [ruby, $0, ARGV].flatten.join(' ')

  dispatcher_log :info, "restarted"

  # close resources as they won't be closed by
  # the OS when using exec
  logger.close rescue nil
  RAILS_DEFAULT_LOGGER.close rescue nil

  exec(command_line)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.