-make main thread not exit after spawning new processes
This commit is contained in:
parent
e8c36be242
commit
3b6723246f
|
@ -66,6 +66,9 @@ try:
|
|||
logger.info("wdd result %s", wdd[storage_directory])
|
||||
|
||||
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()
|
||||
|
|
Loading…
Reference in New Issue