shithub: werc

Download patch

ref: 3b043d737f70ff1e6d14fe6034d7a6c1f2f4d498
parent: fdb1089075265ce6cd274397630488221e3ad4ff
author: sl <sl@stanleylieber.com>
date: Thu Jun 11 17:28:58 EDT 2020

sites/werc.cat-v.org/docs/web-server-setup/: add cgd.md

--- /dev/null
+++ b/sites/werc.cat-v.org/docs/web-server-setup/cgd.md
@@ -1,0 +1,14 @@
+cgd
+===
+
+Cgd is a simple daemon written in [go](http://golang.org) that can
+serve a CGI script over HTTP or FastCGI.  It only needs to know the
+location of the Plan 9 (9base, frontbase, or plan9port) binaries, and
+the location of the werc installation itself.  There is no
+configuration file.
+
+For example, to run werc under cgd on Plan 9:
+
+	PLAN9=/ cgd -c $werc/bin/werc.rc -w $werc/bin
+
+Download it here: <https://code.9front.org/hg/cgd>