summaryrefslogtreecommitdiff
path: root/deploy/food.service
diff options
context:
space:
mode:
authorTom Flux <tom@tomflux.xyz>2026-06-23 19:55:42 +0100
committerTom Flux <tom@tomflux.xyz>2026-06-23 19:55:42 +0100
commitddaedf00499a84bafb6122e7e5a138a3441f838b (patch)
tree345a32a113ccade235c1a6b0681e5ce81fccaf30 /deploy/food.service
parent0aabf50834a31ff4ae9f8fd58639e444a449110b (diff)
Migrate dependency management to uv
Replace requirements.txt with pyproject.toml (direct deps only; uv resolves the rest into uv.lock). Point the systemd unit at the uv-managed .venv, and gitignore it. Run `uv lock` to generate the lockfile and commit it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'deploy/food.service')
-rw-r--r--deploy/food.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/food.service b/deploy/food.service
index 0a2a097..1211bce 100644
--- a/deploy/food.service
+++ b/deploy/food.service
@@ -7,9 +7,9 @@ Type=notify
User=openclaw
Group=openclaw
WorkingDirectory=/var/lib/food
-Environment="PATH=/var/lib/food/venv/bin:/usr/bin"
+Environment="PATH=/var/lib/food/.venv/bin:/usr/bin"
Environment="DJANGO_SETTINGS_MODULE=food_project.settings"
-ExecStart=/var/lib/food/venv/bin/gunicorn food_project.wsgi:application \
+ExecStart=/var/lib/food/.venv/bin/gunicorn food_project.wsgi:application \
--bind 127.0.0.1:8042 \
--workers 2 \
--timeout 30 \