diff -r e163794ccf54 -r 154d2d8ae9c0 bin/qmsk-irclogs.fcgi --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/qmsk-irclogs.fcgi Sun Sep 13 20:08:16 2009 +0300 @@ -0,0 +1,26 @@ +#!/usr/bin/python2.5 +# :set filetype=py + +""" + FastCGI mode using qmsk.web.fastcgi_main +""" + +from qmsk.web import fastcgi_main + +# XXX: error handling for imports? Lighttp sucks hard at this +from qmsk.irclogs import wsgi + +def main () : + """ + Build our WSGIApplication and run + """ + + # create app + app = wsgi.Application() + + # run once + fastcgi_main.run(app) + +if __name__ == '__main__' : + main() +