# Stop the service gracefullycurl -X PUT http://localhost:9481/api/services/ai/txt2img/quiesce# Wait for in-flight requests to completesleep 5# Restart with new configurationcurl -X POST http://localhost:9481/api/services/ai/txt2img/restart \ -H "Content-Type: application/json" \ -d '{"model": "sd-v3"}'
# Quiesce all services before maintenancecurl -X PUT http://localhost:9481/api/services/app/frontend/quiescecurl -X PUT http://localhost:9481/api/services/app/backend/quiescecurl -X PUT http://localhost:9481/api/services/app/database/quiesce# Perform maintenance...# Restart servicescurl -X POST http://localhost:9481/api/services/app/database/restartcurl -X POST http://localhost:9481/api/services/app/backend/restartcurl -X POST http://localhost:9481/api/services/app/frontend/restart