Change exchange API service to use venv Python interpreter and update marketplace service syslog identifier
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
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
This commit is contained in:
@@ -9,7 +9,7 @@ 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
|
||||
ExecStart=/opt/aitbc/venv/bin/python simple_exchange_api.py --port 8001
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
@@ -31,7 +31,7 @@ StartLimitIntervalSec=60
|
||||
# Production logging
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=aitbc-marketplace-production
|
||||
SyslogIdentifier=aitbc-marketplace
|
||||
|
||||
# Production security
|
||||
NoNewPrivileges=true
|
||||
|
||||
Reference in New Issue
Block a user