code: def post_fork_child(self):
      
      # The server finds run-specific info dirs by looking at the subdirectories of info_dir,
      # which is conveniently and obviously the parent dir of the current run's info dir.
      info_dir = os.path.dirname(self.context.run_tracker.run_info_dir)
  
      settings = ReportingServer.Settings(info_dir=info_dir,
                                          root=get_buildroot(),
                                          template_dir=self.options.template_dir,
                                          assets_dir=self.options.assets_dir,
                                          allowed_clients=self.options.allowed_clients)
  
      server = ReportingServer(self.options.port, settings)
  
      self.write_socket(server.server_port())
  
      # Block forever.
      server.start()
docs: Post-fork() child callback for ProcessManager.daemonize().