From d7094f2061ef76b32ccf6cca361a38a5f3be370a Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Sun, 7 Aug 2022 23:12:06 -0400 Subject: [PATCH] fix systemd --- conf/systemd.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 500b32d..1d6ffd3 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,8 +7,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__/ -Environment="ISSO_SETTINGS=__FINALPATH__/isso.cfg" -ExecStart=__FINALPATH__/venv/bin/gunicorn -b localhost:__PORT__ -w 4 --preload isso.run +ExecStart=__FINALPATH__/venv/bin/isso -c __FINALPATH__/isso.cfg run StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit