From 14cd2164b528ab2d0c3020cc1420ab2abd3fbef9 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Mon, 30 Oct 2023 11:22:14 +0100 Subject: [PATCH] Remove incorrect parameters from systemd file --- templates/pretalx.service.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/pretalx.service.j2 b/templates/pretalx.service.j2 index b10087a..c51ccc9 100644 --- a/templates/pretalx.service.j2 +++ b/templates/pretalx.service.j2 @@ -1,11 +1,11 @@ [Unit] Description=pretalx %I server application -Requires=pretalx@%i.socket +Requires=pretalx%i.socket After=network.target [Service] -User={{ pretalx_system_user }}%i -Group={{ pretalx_system_user }}%i +User={{ pretalx_system_user }} +Group={{ pretalx_system_user }} WorkingDirectory={{ pretalx_virtualenv }}/lib/python{{ pretalx_system_python_version }}/site-packages/pretalx ExecStart={{ pretalx_virtualenv }}/bin/gunicorn --bind unix:/run/gunicorn/pretalx_%i --workers {{ pretalx_service_workers }} --max-requests {{ pretalx_service_workers_max_requests }} --max-requests-jitter {{ pretalx_service_workers_max_requests_jitter }} pretalx.wsgi ExecReload=/bin/kill -s HUP $MAINPID