This commit is contained in:
H.T. Kruitbosch 2017-11-28 15:41:34 +01:00
parent 757270c53f
commit 15db984b46

View File

@ -159,7 +159,7 @@ you can run this in a `sceen`, but it might be better to create a service like,
User=cosmo
Group=cosmo
RuntimeDirectory=gunicorn
WorkingDirectory=/home/cosmo/rug-website/
WorkingDirectory=absolute-path-to/rugwebsite/
ExecStart=absolute-path-to/rugwebsite/venv/bin/gunicorn --pid /run/gunicorn/yourwebsitepid --bind 127.0.0.1:8890 wsgi
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID