Skip to content

Commit

Permalink
Remove incorrect parameters from systemd file
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Oct 30, 2023
1 parent 96cc4d2 commit 14cd216
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/pretalx.service.j2
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 14cd216

Please sign in to comment.