mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-04 20:05:16 +02:00
feat(gateway): add long-lived gateway runner
This commit is contained in:
parent
b8538655bb
commit
bd86a72587
2 changed files with 108 additions and 0 deletions
11
surfsense_backend/gateway_runner.py
Normal file
11
surfsense_backend/gateway_runner.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"""Entrypoint for SERVICE_ROLE=gateway."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
|
||||
from app.gateway.runner import GatewayRunner
|
||||
|
||||
if __name__ == "__main__":
|
||||
asyncio.run(GatewayRunner().run())
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue