Files
aitbc/website/systemd-example.service
aitbc a1a3711092
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m19s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
refactor: remove static agent discovery JSON files - migrate to live RPC endpoints
- Deleted chains.json, discovery.json, islands.json static configuration files
- Removed /agent/join/ait-mainnet.json configuration guide
- Updated index.html to show only mainnet island, removed testnet card
- Changed note from "Agent-First Design" to "Live Data Only" emphasizing real-time RPC queries
- Added "Live data from RPC" indicator to mainnet island card
- All agent endpoints now serve dynamic data from blockchain
2026-05-19 19:03:30 +02:00

33 lines
881 B
Desktop File

[Unit]
Description=AITBC Agent Live API
Documentation=https://github.com/oib/AITBC
After=aitbc-blockchain-rpc.service
Wants=aitbc-blockchain-rpc.service
[Service]
Type=simple
User=root
WorkingDirectory=/opt/aitbc/website/agent
# Environment variables - customize for your node
Environment="AITBC_RPC_URL=http://localhost:8006/rpc"
Environment="NODE_ID=aitbc"
Environment="ISLAND_ID=ait-mainnet-island"
Environment="CHAIN_ID=ait-mainnet"
Environment="NODE_ROLE=hub"
Environment="PYTHONUNBUFFERED=1"
# For testnet hub (aitbc1), use these instead:
# Environment="NODE_ID=aitbc1"
# Environment="ISLAND_ID=ait-testnet-island"
# Environment="CHAIN_ID=ait-testnet"
# Python path - update if your venv is elsewhere
ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/website/agent/live_api.py --host 127.0.0.1 --port 8081
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target