def updateStatusAndConfig(self):
        """
        Updates the status and config, based on any editing of config files
        and/or signals received.
        """

        if self.dconfig.rereadIfUpdated():
            self.setVarsFromConfig()
            self.info("config file reread")

        if self.status == status.STOPPED:
            self.info("stop requested in config")

        elif Daemon.weWereSignalled("USR1"):
            self.info("stop requested by signal")
            self.status = status.STOPPED