diff --git a/roles/bodhi2/base/templates/configmap.yml b/roles/bodhi2/base/templates/configmap.yml index 75cc2d3864..b4539e7e29 100644 --- a/roles/bodhi2/base/templates/configmap.yml +++ b/roles/bodhi2/base/templates/configmap.yml @@ -93,7 +93,8 @@ data: CoreDumpDirectory /tmp Alias /docs /usr/share/doc/bodhi-docs/html/ Alias /static /usr/lib/python2.7/site-packages/bodhi/server/static/ - WSGIDaemonProcess bodhi user=bodhi group=bodhi display-name=bodhi processes=2 threads=2 maximum-requests=1000 + WSGIDaemonProcess bodhi display-name=bodhi processes=2 threads=2 maximum-requests=1000 home=/httpdir + WSGIApplicationGroup %{GLOBAL} WSGISocketPrefix run/wsgi WSGIRestrictStdout Off WSGIRestrictSignal Off diff --git a/roles/bodhi2/base/templates/production.ini.j2 b/roles/bodhi2/base/templates/production.ini.j2 index 7fe2a25e9e..7087a7d7b1 100644 --- a/roles/bodhi2/base/templates/production.ini.j2 +++ b/roles/bodhi2/base/templates/production.ini.j2 @@ -683,7 +683,9 @@ port = 6543 [pshell] m = bodhi.server.models #db = bodhi.server.util.pshell_db +{% if env != "staging" %} t = transaction +{% endif %} # Begin logging configuration