From 86bbd732d0569032d1510ef1f202c618ff121f62 Mon Sep 17 00:00:00 2001 From: aitbc Date: Wed, 15 Apr 2026 09:29:38 +0200 Subject: [PATCH] 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 --- systemd/aitbc-exchange-api.service | 2 +- systemd/aitbc-marketplace.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd/aitbc-exchange-api.service b/systemd/aitbc-exchange-api.service index 536e7dcc..77fb5966 100644 --- a/systemd/aitbc-exchange-api.service +++ b/systemd/aitbc-exchange-api.service @@ -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 diff --git a/systemd/aitbc-marketplace.service b/systemd/aitbc-marketplace.service index 8493bef6..f505cebe 100644 --- a/systemd/aitbc-marketplace.service +++ b/systemd/aitbc-marketplace.service @@ -31,7 +31,7 @@ StartLimitIntervalSec=60 # Production logging StandardOutput=journal StandardError=journal -SyslogIdentifier=aitbc-marketplace-production +SyslogIdentifier=aitbc-marketplace # Production security NoNewPrivileges=true