FIX signal handling
Controller receive them (and ignores them)
This commit is contained in:
parent
2bbbf534eb
commit
24ad892222
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ def main():
|
|||
|
||||
def sig(*args):
|
||||
print('invoked sig', args)
|
||||
larigira.controller.q.put('signal', *args)
|
||||
larigira.controller.q.put(dict(kind='signal', args=args))
|
||||
gevent.signal(signal.SIGHUP, sig, signal.SIGHUP)
|
||||
gevent.wait()
|
||||
|
||||
|
|
Loading…
Reference in a new issue