def run_sensors(self):
        """
        Run all sensors as determined by sensors_partitioner.
        """
        sensors = self._sensors_partitioner.get_sensors()
        if sensors:
            LOG.info("Setting up container to run %d sensors.", len(sensors))
            LOG.info(
                "\tSensors list - %s.",
                [self._get_sensor_ref(sensor) for sensor in sensors],
            )

        sensors_to_run = []
        for sensor in sensors:
            # TODO: Directly pass DB object to the ProcessContainer
            sensors_to_run.append(self._to_sensor_object(sensor))

        LOG.info("(PID:%s) SensorContainer started.", os.getpid())
        self._setup_sigterm_handler()

        exit_code = self._spin_container_and_wait(sensors_to_run)
        return exit_code

        Run all sensors as determined by sensors_partitioner.
        
st2reactor/st2reactor/container/manager.py