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
|
||||
User=discord
|
||||
WorkingDirectory=/srv/discord/%I
|
||||
EnvironmentFile=/srv/discord/%I/.env
|
||||
ExecStart=/srv/discord/.venv/bin/python -u app.py
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in a new issue