From 0f83056107b7570f2e85d005e0868be3d48119b6 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Mon, 21 Dec 2009 00:35:57 -0500 Subject: [PATCH] invirt.fcgi: Document wrapper scripts more explicitly. svn path=/trunk/packages/invirt-web/; revision=2743 --- code/invirt.fcgi | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/code/invirt.fcgi b/code/invirt.fcgi index 9cda782..64d55f7 100755 --- a/code/invirt.fcgi +++ b/code/invirt.fcgi @@ -14,15 +14,16 @@ 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. -""" % (sys.argv[0],) +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) if __name__ == "__main__": -- 1.7.9.5