Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 13s
Deploy to Testnet / deploy-testnet (push) Successful in 1m31s
Multi-Node Stress Testing / stress-test (push) Successful in 20s
Node Failover Simulation / failover-test (push) Failing after 9s
Systemd Sync / sync-systemd (push) Successful in 27s
Deploy to Testnet / notify-deployment (push) Successful in 9s
20 lines
606 B
Desktop File
20 lines
606 B
Desktop File
[Unit]
|
|
Description=AITBC API Gateway
|
|
After=network.target aitbc-gpu.service aitbc-marketplace.service aitbc-trading.service aitbc-governance.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
WorkingDirectory=/opt/aitbc/apps/api-gateway
|
|
Environment="PATH=/opt/aitbc/venv/bin:/usr/local/bin:/usr/bin:/bin"
|
|
Environment="PYTHONPATH=/opt/aitbc/apps/api-gateway/src:/opt/aitbc/packages/py/aitbc-core/src:$PYTHONPATH"
|
|
ExecStart=/opt/aitbc/venv/bin/python -m api_gateway.main
|
|
Restart=always
|
|
RestartSec=10
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=aitbc-api-gateway
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|