freeipa/install/share/wsgi.py
2010-03-01 20:22:22 -07:00

14 lines
286 B
Python

"""
WSGI appliction for IPA server.
"""
from ipalib import api
api.bootstrap(context='server', debug=True, log=None)
api.finalize()
api.log.info('*** PROCESS START ***')
import ipawebui
ui = ipawebui.create_wsgi_app(api)
# This is the WSGI callable:
application = api.Backend.session