Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 4s
Deploy to Testnet / deploy-testnet (push) Successful in 1m16s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Failing after 3s
Systemd Sync / sync-systemd (push) Successful in 19s
- Update all systemd units to use blockchain.env instead of .env - This standardizes configuration structure across nodes
22 lines
549 B
Desktop File
22 lines
549 B
Desktop File
[Unit]
|
|
Description=AITBC AI Service
|
|
After=network.target redis.service postgresql.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/aitbc/apps/ai-service
|
|
Environment="PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin"
|
|
EnvironmentFile=/etc/aitbc/blockchain.env
|
|
EnvironmentFile=/etc/aitbc/node.env
|
|
ExecStart=/opt/aitbc/venv/bin/python -m uvicorn src.ai_service.main:app --host 0.0.0.0 --port 8005
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=aitbc-ai
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|