Created
May 12, 2017 10:45
-
-
Save strets123/2ff1d0ef774cebef63b06620b249b6db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:zegami_uwsgi] | |
;the socket directive is the unix socket which supervisor uses to communicate with nginx | |
command=/opt/zegami_python/anaconda/bin/uwsgi | |
--uid=zegami | |
--gid=zegami | |
--chdir=/opt/zegami | |
--manage-script-name | |
--mount=/zegami=dzapi.app.application:app | |
--socket=/tmp/zegami-uwsgi.sock | |
--chmod-socket=666 | |
--plugin=python | |
--wsgi-disable-file-wrapper | |
directory=/opt/zegami | |
environment=PYTHONPATH=/opt/zegami:/opt/zegami/lib,PYTHONHOME=/opt/zegami_python/anaconda/,USER=zegami,HOME=/home/zegami | |
user=zegami | |
autorestart=true | |
redirect_stderr=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment