From 28d069b0b25affa4622e1e4c333ecf8546367cb9 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Thu, 28 Sep 2023 12:02:18 +0200 Subject: [PATCH] Add +EnvironmentFile --- gunicorn-multi@.service | 1 + 1 file changed, 1 insertion(+) diff --git a/gunicorn-multi@.service b/gunicorn-multi@.service index d2724f0..1cdd178 100644 --- a/gunicorn-multi@.service +++ b/gunicorn-multi@.service @@ -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