Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Successful in 34m15s
Documentation Validation / validate-docs (push) Has been cancelled
Systemd Sync / sync-systemd (push) Failing after 18s
Blockchain Monitoring Configuration: ✅ CONFIGURABLE INTERVAL: Added blockchain_monitoring_interval_seconds setting - apps/blockchain-node/src/aitbc_chain/config.py: New setting with 10s default - apps/blockchain-node/src/aitbc_chain/chain_sync.py: Import settings with fallback - chain_sync.py: Replace hardcoded base_delay=2 with config setting - Reason: Makes monitoring interval configurable instead of hardcoded ✅ DUMMY ENDPOINTS: Disabled monitoring
39 lines
930 B
Desktop File
39 lines
930 B
Desktop File
[Unit]
|
|
Description=AITBC Advanced AI Service - Enhanced AI Capabilities
|
|
After=network.target
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/aitbc/apps/coordinator-api
|
|
Environment=PATH=/usr/bin
|
|
Environment=PYTHONPATH=/opt/aitbc/apps/coordinator-api/src
|
|
ExecStart=/opt/aitbc/venv/bin/python -m app.services.advanced_ai_service
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=always
|
|
RestartSec=10
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=aitbc-advanced-ai
|
|
|
|
# Security settings (relaxed for development)
|
|
# NoNewPrivileges=true
|
|
# PrivateTmp=true
|
|
# ProtectSystem=strict
|
|
# ProtectHome=true
|
|
ReadWritePaths=/var/log/aitbc /var/lib/aitbc/data /opt/aitbc/apps/coordinator-api
|
|
|
|
# Resource limits
|
|
LimitNOFILE=65536
|
|
LimitNPROC=4096
|
|
|
|
# GPU access (if available)
|
|
DeviceAllow=/dev/nvidia0 rw
|
|
DeviceAllow=/dev/nvidiactl rw
|
|
DeviceAllow=/dev/nvidia-uvm rw
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|