async def METHOD_NAME():
    service_mngr: service.Services
    async with (
        service.open_pikerd(
            loglevel=loglevel,
            debug_mode=pdb,
            registry_addr=reg_addr,
        ) as service_mngr,  # normally delivers a ``Services`` handle
        trio.open_nursery() as n,
        AsyncExitStack() as stack,
    ):
        if tsdb:
            dname, conf = await stack.enter_async_context(
                service.marketstore.start_ahab_daemon(
                    service_mngr,
                    loglevel=loglevel,
                )
            )
            log.info(f'TSDB `{dname}` up with conf:\n{conf}')
        if es:
            dname, conf = await stack.enter_async_context(
                service.elastic.start_ahab_daemon(
                    service_mngr,
                    loglevel=loglevel,
                )
            )
            log.info(f'DB `{dname}` up with conf:\n{conf}')
        await trio.sleep_forever()