# systemd-Unit für Mission Control 2.0 (läuft PARALLEL zu v1 auf eigenem Port 9001). # Ablage: ~/.config/systemd/user/ (user-Dienst) ODER /etc/systemd/system/ (system, User=hitonabi). # Aktivieren: systemctl --user enable --now mission-control-2 (bzw. system-weit) [Unit] Description=Mission Control 2.0 (Cockpit) After=network-online.target Wants=network-online.target [Service] Type=simple WorkingDirectory=/opt/mission-control-2/backend ExecStart=/opt/mission-control-2/backend/.venv/bin/python -m uvicorn app:app --host 0.0.0.0 --port 9001 Environment=MC_PORT=9001 Environment=MC_LLAMA_SWAP_URL=http://127.0.0.1:8080 Environment=MC_CONFIG_PATH=/etc/llama-swap/config.yaml Environment=MC_MODELS_DIR=/srv/models Environment=MC_GATEWAY_URL=http://127.0.0.1:4000 Restart=on-failure RestartSec=3 [Install] WantedBy=default.target