Add +EnvironmentFile
This commit is contained in:
parent
896e123f71
commit
28d069b0b2
|
@ -5,6 +5,7 @@ After=network.target nss-lookup.target network-online.target nss-user-lookup.tar
|
|||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/usr/local/www/%i/app
|
||||
EnvironmentFile=-/usr/local/www/%i/config/gunicorn/env
|
||||
ExecStart=/usr/local/www/%i/app/venv/bin/gunicorn -c /usr/local/www/%i/config/gunicorn/gunicorn.conf.py
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
|
Loading…
Reference in New Issue