From 8d83f53ff37234357f8dc173289adb195bb55cf5 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 14 May 2019 10:23:48 +0200 Subject: [PATCH] correct runtime path --- templates/systemd/gunicorn.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/systemd/gunicorn.service.j2 b/templates/systemd/gunicorn.service.j2 index da977a7..db9eedb 100644 --- a/templates/systemd/gunicorn.service.j2 +++ b/templates/systemd/gunicorn.service.j2 @@ -6,7 +6,7 @@ After=network.target PIDFile=/run/gunicorn-{{supysonic_name}}/pid User={{exec_user}} Group={{exec_group}} -RuntimeDirectory=gunicorn +RuntimeDirectory=gunicorn-{{supysonic_name}} 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 ExecReload=/bin/kill -s HUP $MAINPID