Files
aitbc/systemd/aitbc-explorer.service
aitbc 58020b7eeb
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 40s
Integration Tests / test-service-integration (push) Successful in 56s
Security Scanning / security-scan (push) Successful in 1m15s
Systemd Sync / sync-systemd (push) Successful in 7s
Python Tests / test-python (push) Successful in 7m47s
fix: update coordinator-api module path and add ML dependencies
Coordinator API Module Path Update - Complete:
 SERVICE FILE UPDATED: Changed uvicorn module path to app.main
- systemd/aitbc-coordinator-api.service: Updated from `main:app` to `app.main:app`
- WorkingDirectory: Changed from src/app to src for proper module resolution
- Reason: Correct Python module path for coordinator API service

 PYTHON PATH CONFIGURATION:
🔧 sys.path Security: Added crypto and sdk paths to locked paths
2026-03-30 21:10:18 +02:00

20 lines
529 B
Desktop File

[Unit]
Description=AITBC Blockchain Explorer UI
After=network.target aitbc-blockchain-rpc-1.service aitbc-blockchain-rpc-2.service
[Service]
Type=simple
User=root
WorkingDirectory=/opt/aitbc/apps/blockchain-explorer
# Using the blockchain node venv since the coordinator one is broken
Environment=PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin
ExecStart=/opt/aitbc/venv/bin/python main.py
Restart=always
RestartSec=5
StandardOutput=journal
StandardError=journal
SyslogIdentifier=aitbc-explorer
[Install]
WantedBy=multi-user.target