Fix marketplace service to use shared venv and PYTHONPATH
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Deploy to Testnet / notify-deployment (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Systemd Sync / sync-systemd (push) Has been cancelled

This commit is contained in:
aitbc
2026-05-02 09:48:45 +02:00
parent 90b190c71c
commit a864dfbefd

View File

@@ -6,8 +6,9 @@ After=network.target postgresql.service
Type=simple
User=root
WorkingDirectory=/opt/aitbc/apps/marketplace-service
Environment="PATH=/root/.local/bin:/usr/local/bin:/usr/bin:/bin"
ExecStart=/root/.local/bin/poetry run python -m marketplace_service.main
Environment="PATH=/opt/aitbc/venv/bin:/usr/local/bin:/usr/bin:/bin"
Environment="PYTHONPATH=/opt/aitbc/apps/marketplace-service/src:$PYTHONPATH"
ExecStart=/opt/aitbc/venv/bin/python -m marketplace_service.main
Restart=always
RestartSec=10
StandardOutput=journal