Skip to content

Instantly share code, notes, and snippets.

@creiht
Created February 19, 2013 20:32
Show Gist options
  • Save creiht/4989660 to your computer and use it in GitHub Desktop.
Save creiht/4989660 to your computer and use it in GitHub Desktop.
Start for validating a swift proxy server config file
from paste.deploy import appconfig
from swift.proxy.server import Application
conf_file = '/etc/swift/proxy-server.conf'
conf = appconfig('config:%s' % conf_file, name='proxy-server')
proxy_app = Application(conf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment