def restart(self):
    if self.state != ControllerState.DEAD:
      self.log.warn(
        "Restarting controller %s when it is not dead!" % self.label)
      return
    self.start()
Restart the controller
dataset/ETHPy150Open ucb-sts/sts/sts/entities/controllers.py/Controller.restart