From 9e1a00d7a4fa6a438862114571467a30ab25262f Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Tue, 24 Mar 2026 10:17:36 -0400 Subject: [PATCH] [systemd] Use just django by default --- systemd/.config/systemd/user/django@.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/.config/systemd/user/django@.service b/systemd/.config/systemd/user/django@.service index 67bba0c..e580805 100644 --- a/systemd/.config/systemd/user/django@.service +++ b/systemd/.config/systemd/user/django@.service @@ -8,7 +8,7 @@ Type=simple Environment=PATH=%h/.local/bin:/home/linuxbrew/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin EnvironmentFile=%h/.local/etc/django/%i.env ExecStartPre=/bin/bash -lc 'cd "$DJANGO_PATH" && if [ -f docker-compose.yml ]; then docker-compose up -d; fi' -ExecStart=/bin/bash -c 'cd "$DJANGO_PATH" && if [ -f "$DJANGO_PATH/pyproject.toml" ]; then exec poetry run python manage.py runserver 0.0.0.0:${DJANGO_PORT:-8000}; else exec direnv exec "$DJANGO_PATH" python manage.py runserver 0.0.0.0:${DJANGO_PORT:-8000}; fi' +ExecStart=/bin/bash -c 'cd "$DJANGO_PATH" && exec direnv exec "$DJANGO_PATH" just django' Restart=on-failure RestartSec=2 StandardOutput=append:/tmp/django.log