fix: resolve real marketplace service issues

 Fixed Real Marketplace Service
- Created real_marketplace_launcher.py to avoid uvicorn workers warning
- Fixed read-only file system issue by creating log directory
- Updated systemd service to use launcher script
- Real marketplace now operational on port 8009

 Marketplace Services Summary
- Port 8002: GPU Resource Marketplace (GPU listings and bids)
- Port 8009: AI Services Marketplace (OpenClaw agents + Ollama)
- Both services now operational with distinct purposes

🚀 Two distinct marketplace services are now working correctly!
This commit is contained in:
aitbc
2026-04-02 13:39:48 +02:00
parent 29ca768c59
commit eaadeb3734
2 changed files with 23 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ Environment=PYTHONPATH=/opt/aitbc/production/services
EnvironmentFile=/opt/aitbc/production/.env
# Real marketplace execution
ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/production/services/real_marketplace.py
ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/production/services/real_marketplace_launcher.py
ExecReload=/bin/kill -HUP $MAINPID
KillMode=mixed
TimeoutStopSec=10