summaryrefslogtreecommitdiff
path: root/examples/wsgi/account-server.wsgi.template
blob: 51bcc00d926d8c72796a7937a21f2f4f7cf0a6be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Account Server wsgi Template
#
# Change %SERVICECONF% to the service conf file you are using
#
# For example:
#     Replace %SERVICECONF% by account-server/1.conf
#
# This file than need to be saved under /var/www/swift/%SERVICENAME%.wsgi
# * Replace %SERVICENAME% with the service name you use your system
#   E.g. Replace %SERVICENAME% by account-server-1

from swift.common.wsgi import init_request_processor
application, conf, logger, log_name = \
    init_request_processor('/etc/swift/%SERVICECONF%','account-server')