def main(options, args):

    logger = log.get_logger("ipg", options=options)

    server = make_server(logger=logger, basedir=options.basedir,
                         numthreads=options.numthreads, host=options.host,
                         port=options.port, use_opencv=options.use_opencv)

    try:
        server.start(use_thread=False)

    except __HOLE__:
        logger.info("Interrupted!")
        server.stop()

    logger.info("Server terminating...")
dataset/ETHPy150Open ejeschke/ginga/ginga/web/pgw/ipg.py/main