-make main thread not exit after spawning new processes
This commit is contained in:
parent
e8c36be242
commit
3b6723246f
|
@ -67,6 +67,9 @@ try:
|
|||
|
||||
notifier.loop(daemonize=True, callback=pe.notifier_loop_callback, pid_file='/var/run/airtime-notifier.pid', stdout='/var/log/airtime/media-monitor/media-monitor.log')
|
||||
|
||||
for p in processes:
|
||||
p.join()
|
||||
|
||||
except KeyboardInterrupt:
|
||||
notifier.stop()
|
||||
except Exception, e:
|
||||
|
|
Loading…
Reference in New Issue