Update environment variable file and service configuration
This commit is contained in:
parent
dd2805b7f0
commit
0df46133be
2 changed files with 3 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue