[Unit] Description=Robot Face SSE Server After=network.target [Service] WorkingDirectory=/opt/face ExecStart=/opt/face/venv/bin/python -m uvicorn face_server:app --host 127.0.0.1 --port 8001 --app-dir /opt/face Restart=always RestartSec=1 # Tipp: eigener User ist sauber, aber www-data geht auch. User=www-data Group=www-data [Install] WantedBy=multi-user.target