Fix: Load EnvironmentFile

This commit is contained in:
a 2024-12-01 08:26:53 +00:00
parent 317885e78e
commit 0dc1a5c63e

View file

@ -6,6 +6,7 @@ After=network.target
Restart=on-failure Restart=on-failure
User=discord User=discord
WorkingDirectory=/srv/discord/%I WorkingDirectory=/srv/discord/%I
EnvironmentFile=/srv/discord/%I/.env
ExecStart=/srv/discord/.venv/bin/python -u app.py ExecStart=/srv/discord/.venv/bin/python -u app.py
[Install] [Install]