[Unit] Description=Maya OS Enterprise ASGI Application Server (Uvicorn) After=network-online.target mysql.service redis-server.service Wants=network-online.target [Service] Type=simple User=mayaos Group=mayaos WorkingDirectory=/srv/maya-os/backend EnvironmentFile=/srv/maya-os/.env ExecStart=/srv/maya-os/backend/.venv/bin/uvicorn config.asgi:application --host 127.0.0.1 --port 8000 --workers 4 --proxy-headers --log-level info Restart=always RestartSec=5 KillSignal=SIGTERM TimeoutStopSec=30 PrivateTmp=true NoNewPrivileges=true [Install] WantedBy=multi-user.target