def main(self):
    globalConf.load(STANDARD_REDUCTION_CONF, env_override=True)
    self._handle_locks()
    self._write_locks()
    run_event = Event()
    run_event.set()
    self._http_interface(run_event)
    self.web.start()
    try:
        while True:
            time.sleep(1)
    except KeyboardInterrupt:
        print('\nadcc: exiting due to Ctrl-C')
        run_event.clear()
        self.web.join()
    if os.path.exists(self.racefile):
        os.remove(self.racefile)
    return
def main(self):
    globalConf.load(STANDARD_REDUCTION_CONF, env_override=True)
    self._handle_locks()
    self._write_locks()
    run_event = Event()
    run_event.set()
    self._http_interface(run_event)
    self.web.start()
    try:
        while True:
            time.sleep(1)
    except KeyboardInterrupt:
        print('\nadcc: exiting due to Ctrl-C')
        run_event.clear()
        self.web.join()
    if os.path.exists(self.racefile):
        os.remove(self.racefile)
    return