-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathteachatty.ini
40 lines (32 loc) · 913 Bytes
/
teachatty.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# teachatty.ini file
[uwsgi]
project = chatSystem
uid = jenkins
# uid = ubuntu
# gid = www-data
##########
# DJANGO #
##########
# Django's full path base directory (where the manage.py file resides)
chdir = /var/lib/jenkins/workspace/teachatty_chat_app/
# Django's wsgi
# module = %(project).wsgi:application
wsgi-file = /var/lib/jenkins/workspace/teachatty_chat_app/chatSystem/wsgi.py
# Virtualenv full path
home = /var/lib/jenkins/workspace/teachatty_chat_app/env
###########
# PROCESS #
###########
master = true
# maximum number of workers
processes = 3 #1 #10, 5
socket = /run/uwsgi/%(project).sock
chown-socket = %(uid)
chmod-socket = 777
buffer-size=65535
# clear environment on exit
vacuum = true
pidfile=/tmp/uwsgi_%(project).pid
harakiri=20
max-requests=10000
daemonize=/var/lib/jenkins/workspace/teachatty_chat_app/logs/teachatty_uwsgi.log