Update environment variable file and service configuration

This commit is contained in:
Joakim Hellsén 2026-03-17 21:21:33 +01:00
commit 0df46133be
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
2 changed files with 3 additions and 8 deletions

View file

@ -10,13 +10,13 @@ User=lovinator
Group=lovinator
# The project directory containing main.py (update as needed).
WorkingDirectory=/home/lovinator/Code/ANewDawn
WorkingDirectory=/home/lovinator/ANewDawn/
# Load environment variables (see systemd/anewdawn.env.example).
EnvironmentFile=/etc/ANewDawn/ANewDawn.env
# Use the python interpreter from your environment (system python is fine if dependencies are installed).
ExecStart=/usr/bin/env python3 main.py
ExecStart=/usr/bin/uv run main.py
Restart=on-failure
RestartSec=5