mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Add RuntimeDirectory to systemd service
Without this /run/gunicorn isn't created.
This commit is contained in:
parent
ca64a57c77
commit
ab81ae3b4d
@ -226,6 +226,7 @@ unix socket:
|
||||
PIDFile=/run/gunicorn/pid
|
||||
User=someuser
|
||||
Group=someuser
|
||||
RuntimeDirectory=gunicorn
|
||||
WorkingDirectory=/home/someuser/applicationroot
|
||||
ExecStart=/usr/bin/gunicorn --pid /run/gunicorn/pid \
|
||||
--bind unix:/run/gunicorn/socket applicationname.wsgi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user