|
@@ -1,12 +1,12 @@
|
|
|
[uwsgi]
|
|
[uwsgi]
|
|
|
-
|
|
|
|
|
|
|
+binary-path = /opt/rotbot-env/bin/uwsgi
|
|
|
# Django-related settings
|
|
# Django-related settings
|
|
|
# the base directory (full path)
|
|
# the base directory (full path)
|
|
|
chdir = /opt/rotbot-env/pyRot/webgui
|
|
chdir = /opt/rotbot-env/pyRot/webgui
|
|
|
# Django's wsgi file
|
|
# Django's wsgi file
|
|
|
module = webgui.wsgi
|
|
module = webgui.wsgi
|
|
|
# the virtualenv (full path)
|
|
# the virtualenv (full path)
|
|
|
-home = /opt/rotbot-env
|
|
|
|
|
|
|
+home = /opt/rotbot-env/
|
|
|
|
|
|
|
|
# process-related settings
|
|
# process-related settings
|
|
|
# master
|
|
# master
|
|
@@ -14,7 +14,7 @@ master = true
|
|
|
# maximum number of worker processes
|
|
# maximum number of worker processes
|
|
|
processes = 10
|
|
processes = 10
|
|
|
# the socket (use the full path to be safe
|
|
# the socket (use the full path to be safe
|
|
|
-socket = /opt/rotbot-env/pyRot/webgui.sock
|
|
|
|
|
|
|
+socket = /opt/rotbot-env/pyRot/webgui/webgui.sock
|
|
|
# ... with appropriate permissions - may be needed
|
|
# ... with appropriate permissions - may be needed
|
|
|
chmod-socket = 666
|
|
chmod-socket = 666
|
|
|
# clear environment on exit
|
|
# clear environment on exit
|