Files
aitbc/systemd/aitbc-blockchain-p2p.service
aitbc 188878ccd4
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Systemd Sync / sync-systemd (push) Has been cancelled
fix: add SyslogIdentifier to systemd services for proper journal logging
- Add SyslogIdentifier to aitbc-blockchain-p2p.service
- Add SyslogIdentifier to aitbc-agent-registry.service
- Add SyslogIdentifier to aitbc-ai.service
- Add SyslogIdentifier to aitbc-blockchain-sync.service
- Add SyslogIdentifier to aitbc-load-secrets.service
- Add SyslogIdentifier to aitbc-monitoring.service
- Add SyslogIdentifier to aitbc-openclaw.service
- Add SyslogIdentifier to aitbc-plugin.service

This ensures services log with their service name instead of 'python' or 'poetry' in journalctl.
2026-05-03 22:06:32 +02:00

22 lines
518 B
Desktop File

[Unit]
Description=AITBC Blockchain P2P Network Service
After=network.target
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/opt/aitbc
Environment=PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin
EnvironmentFile=/etc/aitbc/.env
EnvironmentFile=/etc/aitbc/node.env
ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/scripts/wrappers/aitbc-blockchain-p2p-wrapper.py
Restart=always
RestartSec=5
StandardOutput=journal
StandardError=journal
SyslogIdentifier=aitbc-blockchain-p2p
[Install]
WantedBy=multi-user.target