password-manager/backend/flask/src/uwsg-emperor.ini.example
jokajak 3574eacb25 Add example files for running clipperz with uwsgi and nginx
Additionally make changes to enable running clipperz from uwsgi
2016-04-24 08:40:30 -04:00

29 lines
606 B
Plaintext

[uwsgi]
plugin = python
socket = /run/uwsgi/%n.sock
chmod-socket = 660
master = true
processes = 1
uid = clipperz
gid = clipperz
umask = 027
procname-master = uwsgi pm
vacuum = true
die-on-term = true
base = /home/clipperz/password-manager/target/flask/
module = clipperz
callable = app
venv = /home/clipperz/password-manager/target/flask/
#the variable that holds a flask application inside the module imported at line #6
callable = app
#location of log files
logto = /var/log/uwsgi/%n.log
env = PYTHON_EGG_CACHE=/var/tmp/clipperz
env = DATABASE_URL = 'mysql://clipperz:clipperz@localhost/clipperz'