correct runtime path

This commit is contained in:
vincent 2019-05-14 10:23:48 +02:00
parent 1ea36d66eb
commit 9c93165c27

View File

@ -7,7 +7,7 @@ After=network.target
PIDFile=/run/gunicorn-{{name}}/pid
User={{exec_user}}
Group={{exec_group}}
RuntimeDirectory=gunicorn
RuntimeDirectory=gunicorn-{{name}}
WorkingDirectory={{source_location}}
ExecStart={{venv_location}}{{venv_name}}/bin/gunicorn --workers=4 --pid /run/gunicorn-{{name}}/pid \
--bind unix:/run/gunicorn-{{name}}/socket run:app