Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- 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
25 lines
522 B
Desktop File
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
|