def main(unused_argv):
  """Main."""
  config_lib.CONFIG.AddContext("HTTPServer Context")

  startup.Init()

  httpd = CreateServer()

  startup.DropPrivileges()

  try:
    httpd.serve_forever()
  except __HOLE__:
    print "Caught keyboard interrupt, stopping"
dataset/ETHPy150Open google/grr/grr/tools/http_server.py/main