Commit Graph

2 Commits

Author SHA1 Message Date
aitbc
35d23b2ef9 fix: add REPO_DIR to PYTHONPATH in service wrappers
The wrapper scripts were setting PYTHONPATH to only the app's src directory,
causing 'ModuleNotFoundError: No module named aitbc' when services tried
to import from the aitbc package. Added REPO_DIR to PYTHONPATH in
coordinator-api, agent-coordinator, and explorer wrappers to allow aitbc imports.
2026-04-25 08:08:23 +02:00
aitbc
858790b89e feat: wire systemd services to use centralized aitbc package
Some checks failed
CLI Tests / test-cli (push) Failing after 11s
Security Scanning / security-scan (push) Successful in 1m33s
Systemd Sync / sync-systemd (push) Successful in 5s
- Create wrapper scripts for all AITBC services using aitbc utilities
- Update 13 systemd service files to use wrapper scripts
- Wrapper scripts use aitbc constants (ENV_FILE, NODE_ENV_FILE, DATA_DIR, LOG_DIR, KEYSTORE_DIR)
- Services migrated: agent-coordinator, agent-daemon, agent-registry, blockchain-event-bridge, blockchain-node, blockchain-p2p, blockchain-rpc, blockchain-sync, coordinator-api, explorer, marketplace, wallet
- Add sys.path setup to cli/aitbc_cli.py for aitbc package access
- Centralized path management via aitbc package
- Consistent environment setup across all services
2026-04-24 22:30:58 +02:00