Files
MCM/main_api_only.py
itdrui.de 7f3b4768c3 Initial MCM project: FastAPI + Textual TUI unified messenger
MultiCustomerMessenger supporting Telegram (python-telegram-bot),
WhatsApp (Green API) and SMS (python-gsmmodem-new). REST API with
Bearer-token auth, SQLAlchemy models for MariaDB, APScheduler for
background polling, and Textual TUI running in same asyncio event-loop.
2026-03-03 14:43:19 +01:00

13 lines
252 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""MCM API-only Einstiegspunkt wird vom systemd-Dienst verwendet."""
import asyncio
import sys
from main import main
if __name__ == "__main__":
try:
asyncio.run(main(with_tui=False))
except KeyboardInterrupt:
sys.exit(0)