[Unit] Description=MAX Support Bot (FastAPI + MAX bot runtime) After=network.target [Service] Type=simple User=__APP_USER__ WorkingDirectory=__APP_DIR__ EnvironmentFile=__APP_DIR__/.env ExecStart=__APP_DIR__/.venv/bin/python -m app.run Restart=always RestartSec=3 KillSignal=SIGINT TimeoutStopSec=30 [Install] WantedBy=multi-user.target