mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
16 lines
336 B
Python
16 lines
336 B
Python
"""
|
|
WSGI appliction for IPA server.
|
|
"""
|
|
|
|
from ipalib import api
|
|
api.bootstrap(context='server', debug=True, log=None)
|
|
try:
|
|
api.finalize()
|
|
except StandardError, e:
|
|
api.log.error('Failed to start IPA: %s' % e)
|
|
else:
|
|
api.log.info('*** PROCESS START ***')
|
|
|
|
# This is the WSGI callable:
|
|
application = api.Backend.session
|