X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/2c3637ad757b199a3087f2d232a795efb50e7728..d3e746ad10f7dc4e54cfd382b4825e77b2916186:/code/invirt.fcgi diff --git a/code/invirt.fcgi b/code/invirt.fcgi index 607a4ea..41d724a 100755 --- a/code/invirt.fcgi +++ b/code/invirt.fcgi @@ -14,14 +14,15 @@ def usage(): argv0_dir = os.path.dirname(sys.argv[0]) print >>sys.stderr, """%s [config] +Or via the provided wrapper scripts: +%s/auth.fcgi [config] +%s/unauth.fcgi [config] + Run server as FastCGI, with CherryPy config from "main.conf". With `config`, run standalone with CherryPy config from `config`. -Serve the authenticated or unauthenticated site according to -the first argument. - -Helper scripts "auth.fcgi" and "unauth.fcgi" are provided to -facilitate running the server with no arguments. +Serve the authenticated site with 'auth' or under 'auth.fcgi', +and the unauthenticated site with 'unauth' or under 'unauth.fcgi'. """ % (sys.argv[0], argv0_dir, argv0_dir) sys.exit(2) @@ -41,6 +42,7 @@ if __name__ == "__main__": app_config = { '/': { 'tools.invirtwebstate.on': True, + 'tools.clear_db_cache.on': True, }, }