def METHOD_NAME(self, signum, frame):
    """ sigterm method
    These actions will be done after SIGTERM.
    """
    self.logger.warn("Caught signal %s. Stopping daemon." % signum)
    os.remove(self.pid)
    sys.exit(0)