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
22 lines
571 B
Desktop File
22 lines
571 B
Desktop File
[Unit]
|
|
Description=AITBC Blockchain Sync Service
|
|
After=network.target postgresql.service aitbc-blockchain-rpc.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/aitbc
|
|
Environment=PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin
|
|
EnvironmentFile=/etc/aitbc/blockchain.env
|
|
EnvironmentFile=/etc/aitbc/node.env
|
|
ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/scripts/wrappers/aitbc-blockchain-sync-wrapper.py
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=aitbc-blockchain-sync
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|