mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-02 19:55:18 +02:00
16 lines
350 B
Python
16 lines
350 B
Python
"""Entrypoint for SERVICE_ROLE=gateway."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import asyncio
|
|
import logging
|
|
|
|
from app.gateway.runner import GatewayRunner
|
|
|
|
if __name__ == "__main__":
|
|
logging.basicConfig(
|
|
level=logging.INFO,
|
|
format="%(asctime)s %(levelname)s [%(name)s] %(message)s",
|
|
)
|
|
asyncio.run(GatewayRunner().run())
|
|
|