Files
aitbc/systemd/aitbc-exchange-api.service
aitbc 86bbd732d0
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
Change exchange API service to use venv Python interpreter and update marketplace service syslog identifier
- Update aitbc-exchange-api.service ExecStart from /opt/aitbc/apps/coordinator-api/.venv/bin/python to /opt/aitbc/venv/bin/python
- Change SyslogIdentifier in aitbc-marketplace.service from aitbc-marketplace-production to aitbc-marketplace
2026-04-15 09:29:38 +02:00

25 lines
522 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/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