Fix: Load EnvironmentFile
This commit is contained in:
parent
317885e78e
commit
0dc1a5c63e
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue