1 NOTE the shebang has been disabled here
3 #!/srv/mediagoblin/bin/python
5 # Written in 2011 by Christopher Allan Webber
7 # To the extent possible under law, the author(s) have dedicated all
8 # copyright and related and neighboring rights to this software to the
9 # public domain worldwide. This software is distributed without any
12 # You should have received a copy of the CC0 Public Domain Dedication along
13 # with this software. If not, see
14 # <http://creativecommons.org/publicdomain/zero/1.0/>.
16 from paste.deploy import loadapp
17 from flup.server.fcgi import WSGIServer
19 CONFIG_PATH = '/srv/mediagoblin/paste_local.ini'
23 ccengine_wsgi_app = loadapp('config:' + CONFIG_PATH)
24 WSGIServer(ccengine_wsgi_app).run()
27 if __name__ == '__main__':