summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a263b15)
svn path=/trunk/packages/invirt-web/; revision=2743
argv0_dir = os.path.dirname(sys.argv[0])
print >>sys.stderr, """%s <unauth|auth> [config]
argv0_dir = os.path.dirname(sys.argv[0])
print >>sys.stderr, """%s <unauth|auth> [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`.
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__":
sys.exit(2)
if __name__ == "__main__":