Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 4s
Deploy to Testnet / deploy-testnet (push) Successful in 1m16s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Failing after 3s
Systemd Sync / sync-systemd (push) Successful in 19s
- Update all systemd units to use blockchain.env instead of .env - This standardizes configuration structure across nodes
30 lines
676 B
Desktop File
30 lines
676 B
Desktop File
[Unit]
|
|
Description=AITBC Blockchain Event Bridge Service
|
|
After=network.target aitbc-blockchain-node.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/aitbc
|
|
EnvironmentFile=/etc/aitbc/blockchain.env
|
|
EnvironmentFile=/etc/aitbc/node.env
|
|
ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/scripts/wrappers/aitbc-blockchain-event-bridge-wrapper.py
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=EventBridge
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/var/lib/aitbc
|
|
ReadWritePaths=/var/log/aitbc
|
|
|
|
# Resource limits
|
|
LimitNOFILE=65536
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|