docs: def sigterm(self, signum, frame):
          """
          These actions will be done after SIGTERM.
          """
          self.logger.warning("Caught signal %s. Stopping daemon." % signum)
          sys.exit(0)