This website requires JavaScript.
459e1e95bbf10ee9413db9c029d2f961364e209c
swift /bin /swift-auth-server
2010年07月12日 17:03:45 -05:00
#!/usr/bin/python
# Copyright (c) 2010 OpenStack, LLC.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# See the License for the specific language governing permissions and
# limitations under the License.
from swift.common.wsgi import run_wsgi
if __name__ == '__main__':
2010年08月20日 00:42:38 +00:00
if len(sys.argv) != 2:
2010年08月24日 14:04:44 +00:00
sys.exit("Usage: %s CONFIG_FILE" % sys.argv[0])
2010年08月24日 14:08:16 +00:00
run_wsgi(sys.argv[1], 'auth-server', default_port=11000)