def add_signal_handlers(self):
        signal.signal(signal.SIGTERM, self.on_sigterm)
Register the sigterm handler
dataset/ETHPy150Open kiberpipa/Intranet/pipa/ltsp/src/ltsp_usage_monitor/daemon.py/Daemon.add_signal_handlers