Files
MCM/install/mcm.service
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

25 lines
513 B
Desktop File
Raw Permalink 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.

[Unit]
Description=MCM MultiCustomerMessenger API
Documentation=https://gitea.it-drui.de/viewit/MCM
After=network-online.target mariadb.service
Wants=network-online.target
[Service]
Type=simple
User=pi
Group=pi
WorkingDirectory=/opt/mcm
EnvironmentFile=/opt/mcm/.env
ExecStart=/opt/mcm/.venv/bin/python main_api_only.py
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal
SyslogIdentifier=mcm
# Modem-Gerät Zugriff
SupplementaryGroups=dialout
[Install]
WantedBy=multi-user.target