Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Move EnvironmentFile=/etc/aitbc/.env from 10-central-env.conf drop-in files directly into main service files for blockchain-node, blockchain-p2p, blockchain-rpc, blockchain-sync, coordinator-api, exchange-api, explorer, learning, marketplace, modality-optimization, multimodal, openclaw, and wallet services - Delete all 10-central-env.conf drop-in configuration files - Delete
25 lines
544 B
Desktop File
25 lines
544 B
Desktop File
[Unit]
|
|
Description=AITBC Exchange API Service
|
|
After=network.target
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/aitbc/apps/exchange
|
|
EnvironmentFile=/etc/aitbc/.env
|
|
ExecStart=/opt/aitbc/apps/coordinator-api/.venv/bin/python simple_exchange_api.py --port 8001
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=aitbc-exchange-api
|
|
|
|
# Allow database writes for SQLite WAL mode
|
|
ProtectSystem=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|