From 1664765782e1d6ac679dfea77cf96c30d8fc81aa Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Fri, 31 Jan 2025 17:09:12 +0100 Subject: [PATCH] Remove RuntimeDirectory from systemd service In ab81ae3b4d15 this was added with the following remark: > Without this /run/gunicorn isn't created However, in ba0d784960be the final reference to `/run/gunicorn/` (for `/run/gunicorn/pid`) was removed. I've checked like so: find -type f | x grep run/\gunicorn\/ --- docs/source/deploy.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/source/deploy.rst b/docs/source/deploy.rst index 5f8689793..926f810fb 100644 --- a/docs/source/deploy.rst +++ b/docs/source/deploy.rst @@ -254,7 +254,6 @@ to the newly created unix socket: Group=someuser # this user can be transiently created by systemd # DynamicUser=true - RuntimeDirectory=gunicorn WorkingDirectory=/home/someuser/applicationroot ExecStart=/usr/bin/gunicorn applicationname.wsgi ExecReload=/bin/kill -s HUP $MAINPID