From 0ce9681e091e6c9bec42359394639cbd0302abd7 Mon Sep 17 00:00:00 2001 From: aitbc Date: Thu, 30 Apr 2026 17:04:37 +0200 Subject: [PATCH] Update OpenClaw service systemd unit to use Poetry run command instead of direct virtualenv path - Changed ExecStart from hardcoded virtualenv path to `poetry run python -m openclaw_service.main` - This makes the service more portable and resilient to virtualenv path changes --- systemd/aitbc-openclaw.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/aitbc-openclaw.service b/systemd/aitbc-openclaw.service index 2156d5c1..7b2658a1 100644 --- a/systemd/aitbc-openclaw.service +++ b/systemd/aitbc-openclaw.service @@ -7,7 +7,7 @@ Type=simple User=root WorkingDirectory=/opt/aitbc/apps/openclaw-service Environment="PYTHONPATH=/opt/aitbc/apps/openclaw-service/src:/opt/aitbc" -ExecStart=/root/.cache/pypoetry/virtualenvs/openclaw-service-EVT8oC-7-py3.13/bin/python -m openclaw_service.main +ExecStart=/root/.local/bin/poetry run python -m openclaw_service.main Restart=always RestartSec=10