Files
aitbc/systemd/aitbc-wallet.service
oib dc1561d457 refactor: standardize systemd service port assignments and fix hardcoded paths
- Update blockchain RPC port from 8003 to 8006
- Update wallet service port from 8001 to 8002
- Update multimodal service port from 8002 to 8010
- Update modality optimization port from 8004 to 8012
- Update adaptive learning port from 8005 to 8013
- Update marketplace enhanced port from 8006 to 8014
- Update OpenClaw enhanced port from 8007 to 8015
- Update multimodal GPU port from 8010 to 8011
- Add port 8017 to geographic
2026-03-06 10:37:43 +01:00

30 lines
872 B
Desktop File

[Unit]
Description=AITBC Wallet Daemon Service (Python 3.13.5+)
After=network.target
Wants=network.target
[Service]
Type=simple
User=aitbc
Group=aitbc
WorkingDirectory=/opt/aitbc/apps/coordinator-api
Environment=PATH=/opt/aitbc/apps/coordinator-api/.venv/bin
Environment=PYTHONPATH=/opt/aitbc/apps/coordinator-api/src
Environment=PYTHONUNBUFFERED=1
Environment=PYTHONIOENCODING=utf-8
Environment=PORT=8002
Environment=SERVICE_TYPE=wallet
Environment=LOG_LEVEL=INFO
# Python version validation
ExecStartPre=/bin/bash -c "python3 --version || (echo 'Python 3.13.5+ required' && exit 1)"
ExecStart=/opt/aitbc/apps/coordinator-api/.venv/bin/python -m uvicorn app.main:app --host 0.0.0.0 --port 8002
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=5
StandardOutput=journal
StandardError=journal
SyslogIdentifier=aitbc-wallet
[Install]
WantedBy=multi-user.target