示例#1
0
def _monitor_web_server():

    utils.restart_upon_crash(app.run, kwargs={'port': PORT})
    def _arp_scan_thread(self):

        utils.restart_upon_crash(self._arp_scan_thread_helper)