Lines Matching refs:signal
11 import signal
102 signal.signal(signal.SIGTERM, self._stop)
103 #signal.signal(signal.SIGHUP, self._reconfig)
105 LOG.warn("signal.SIGTERM is not defined - skipping it.")
110 signal.signal(signal.SIGBREAK, signal.default_int_handler)
112 LOG.warn('signal.SIGBREAK is not defined - skipping it.')
116 #signal.pause()
122 self._stop(signal.SIGTERM, None)
128 def _stop(self, signal, stack):
132 @param: signal: the signal (TERM or KILL)
135 LOG.info('Received signal %s, shutting down...' % (signal, ))
147 def _reconfig(self, signal, stack):
151 @param: signal: the signal (?)