fix: complete system architecture compliance via workflow
✅ Architecture Audit & Rewire Completed - Fixed Python code path references in tests and miner files - Updated SystemD service ReadWritePaths to use system logs - Removed remaining production data and log directories - Updated .gitignore for additional runtime patterns - Created proper system directory structure - Restarted all services for configuration changes ✅ FHS Compliance Achieved - Data: /var/lib/aitbc/data ✅ - Config: /etc/aitbc ✅ - Logs: /var/log/aitbc ✅ - Repository: Clean of runtime files ✅ ✅ Code References Fixed - 0 repository data references ✅ - 0 repository config references ✅ - 0 repository log references ✅ ✅ Services Operational - Marketplace: Active and responding ✅ - Blockchain HTTP: Active and responding ✅ - All services using system paths ✅ 🚀 AITBC system architecture is now fully FHS compliant!
This commit is contained in:
@@ -22,7 +22,7 @@ MAX_RETRIES = 10
|
||||
RETRY_DELAY = 30
|
||||
|
||||
# Setup logging with explicit configuration
|
||||
LOG_PATH = "/opt/aitbc/logs/host_gpu_miner.log"
|
||||
LOG_PATH = "/var/log/aitbc/host_gpu_miner.log"
|
||||
os.makedirs(os.path.dirname(LOG_PATH), exist_ok=True)
|
||||
|
||||
class FlushHandler(logging.StreamHandler):
|
||||
|
||||
Reference in New Issue
Block a user