Skip to content

Commit

Permalink
fixed incorrect gunicorn.service file for SystemD (benoitc#1357)
Browse files Browse the repository at this point in the history
* fixed incorrect gunicorn.service file for SystemD

* made instructions a little less ambiguous

* made documentation more generic
  • Loading branch information
David McInnis authored and tilgovi committed Oct 13, 2016
1 parent 2d11e5c commit 1853071
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/deploy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1853071

Please sign in to comment.