correct runtime path

This commit is contained in:
vincent 2019-05-14 10:23:48 +02:00
parent 28aed2d153
commit 8d83f53ff3

View File

@ -6,7 +6,7 @@ After=network.target
PIDFile=/run/gunicorn-{{supysonic_name}}/pid PIDFile=/run/gunicorn-{{supysonic_name}}/pid
User={{exec_user}} User={{exec_user}}
Group={{exec_group}} Group={{exec_group}}
RuntimeDirectory=gunicorn RuntimeDirectory=gunicorn-{{supysonic_name}}
WorkingDirectory={{source_location}}/{{supysonic_name}}/cgi-bin WorkingDirectory={{source_location}}/{{supysonic_name}}/cgi-bin
ExecStart={{venv_location}}{{supysonic_venv_name}}/bin/gunicorn -b 0.0.0.0:8001 --workers=4 --pid /run/gunicorn-{{supysonic_name}}/pid server:app ExecStart={{venv_location}}{{supysonic_venv_name}}/bin/gunicorn -b 0.0.0.0:8001 --workers=4 --pid /run/gunicorn-{{supysonic_name}}/pid server:app
ExecReload=/bin/kill -s HUP $MAINPID ExecReload=/bin/kill -s HUP $MAINPID