www
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYestin L. Harrison <yestin@ylh.io>2021-07-25 23:46:08 -0600
committerYestin L. Harrison <yestin@ylh.io>2021-07-26 00:45:50 -0600
commit7b2b19557e3681b6af7260c5d6d68ac8354195c1 (patch)
treecb28ea6709fe7a2950835f007efe9d70f0699a08
parent0875dfbee3445f46f9538a49b50c20a5c9cc5d31 (diff)
downloadcgd-7b2b19557e3681b6af7260c5d6d68ac8354195c1.tar.gz
cgd-7b2b19557e3681b6af7260c5d6d68ac8354195c1.tar.xz
cgd-7b2b19557e3681b6af7260c5d6d68ac8354195c1.zip
this became dead code in ee32d7a
-rw-r--r--README.md6
-rw-r--r--main.go1
2 files changed, 3 insertions, 4 deletions
diff --git a/README.md b/README.md
index ccaac2b..40f201f 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ CGD - Common Gateway Daemon
Cgd is a daemon that can serve a CGI script over HTTP or FastCGI.
-Useful to run CGI scripts that serve a whole domain (like [kwerc][1]) without
+Useful to run CGI scripts that serve a whole domain (like [werc][1]) without
need for a "real" HTTP server, or to wrap CGI scripts so they can be served by
fcgi-only web servers like nginx.
@@ -13,7 +13,7 @@ Upstream homepage: <http://repo.cat-v.org/cgd/>
Install Instructions
--------------------
- go get github.com/kfarwell/cgd
+ go get github.com/ylh/cgd
Will install as $GOPATH/bin/cgd
@@ -23,4 +23,4 @@ License
MIT/CC0/Public Domain
-[1]: https://github.com/kfarwell/kwerc
+[1]: http://werc.cat-v.org/
diff --git a/main.go b/main.go
index baa6cf2..69752f9 100644
--- a/main.go
+++ b/main.go
@@ -15,7 +15,6 @@ import (
var cmd = flag.String("c", "", "CGI program to run")
var pwd = flag.String("w", "", "Working dir for CGI")
var serveFcgi = flag.Bool("f", false, "Run as a FCGI 'server' instead of HTTP")
-var debug = flag.Bool("debug", false, "Print debug msgs to stderr")
var address = flag.String("a", ":42069", "Listen address")
var envVars = flag.String("e", "", "Comma-separated list of environment variables to preserve")