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
- 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.
22 lines
527 B
Desktop File
22 lines
527 B
Desktop File
[Unit]
|
|
Description=AITBC AI Service
|
|
After=network.target redis.service postgresql.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/aitbc/apps/ai-service
|
|
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 -m uvicorn src.app:app --host 0.0.0.0 --port 8005
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=aitbc-ai
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|