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:
David McInnis 2016-10-13 13:01:40 -07:00 committed by Randall Leeds
parent 2d11e5c7cc
commit 1853071dc2

View File

@ -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