mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fixed incorrect gunicorn.service file for SystemD (#1357)
* fixed incorrect gunicorn.service file for SystemD * made instructions a little less ambiguous * made documentation more generic
This commit is contained in:
parent
2d11e5c7cc
commit
1853071dc2
@ -224,8 +224,8 @@ systemd:
|
||||
PIDFile=/run/gunicorn/pid
|
||||
User=someuser
|
||||
Group=someuser
|
||||
WorkingDirectory=/home/someuser
|
||||
ExecStart=/home/someuser/gunicorn/bin/gunicorn --pid /run/gunicorn/pid test:app
|
||||
WorkingDirectory=/home/someuser/applicationroot
|
||||
ExecStart=/usr/bin/gunicorn --pid /run/gunicorn/pid --bind unix:/run/gunicorn/socket applicationname.wsgi
|
||||
ExecReload=/bin/kill -s HUP $MAINPID
|
||||
ExecStop=/bin/kill -s TERM $MAINPID
|
||||
PrivateTmp=true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user