summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/daemon.py
blob: ff8158a9a0ad6eeda1c2deb3699978bc07d50050 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Entry point for the meshbay-hub systemd service."""

import uvicorn
from meshbay_hub.app import app  # noqa: F401


def main() -> None:
    uvicorn.run(
        "meshbay_hub.app:app",
        host="127.0.0.1",
        port=8000,
        log_level="info",
    )


if __name__ == "__main__":
    main()