README.texi | 41 ++++++++++++++++++++++++++++++++++++----- diff --git a/README.texi b/README.texi index 13638d7f3e3b4e003039ca94cd5acc555945402c5e890ef9dbbc403c128fd870..64fa351a32cc3601cb7b7650707293c1acb8e59ad35d7d5949ce779185d5aecf 100644 --- a/README.texi +++ b/README.texi @@ -22,9 +22,10 @@ @item @url{https://git-scm.com/, Git} DVCS as a storage for posts and comments @item Single small @url{https://hjson.github.io/, Hjson} configuration file @item Uses @url{https://en.wikipedia.org/wiki/Common_Gateway_Interface, CGI} interface (simplicity, remember?) for dealing with HTTP-server -@item Uses @url{https://en.wikipedia.org/wiki/Inetd, inetd} interface - for working as @url{https://en.wikipedia.org/wiki/Gopher_(protocol), Gopher} - server +@item Uses + @url{https://en.wikipedia.org/wiki/Inetd, inetd}/@url{http://cr.yp.to/ucspi-tcp.html, UCSPI-TCP} + interface for working as + @url{https://en.wikipedia.org/wiki/Gopher_(protocol), Gopher} server @item Topics (tags/categories) support @item Supports on the fly generation of @url{https://en.wikipedia.org/wiki/Atom_(feed), Atom} feeds @@ -111,6 +112,12 @@ @example $ git notes --ref=topics add -m "linux hate" @@ @end example +To reset incorrectly added topic: + +@example +$ git update-ref refs/notes/topics refs/notes/topics^ +@end example + @node Installation @unnumbered Installation @@ -125,7 +132,7 @@ Unfortunately by default it uses HTTPS and Go's third party servers (@code{sum.golang.org}, @code{proxy.golang.org}) that trust neither @code{CACert.org}'s CA (used previously) nor @code{ca.cypherpunks.ru} -CA. So either disable their usage and trust that certificate: +CAs. So either disable their usage and trust that certificate: @code{GOPRIVATE=go.stargrave.org/sgblog}, or clone its source code manually and build in place: @url{git://git.stargrave.org/sgblog.git}, @@ -154,8 +161,32 @@ Example @command{inetd} configuration (for phlog): @example -gopher stream tcp nowait lighttpd /path/to/sgblog sgblog -gopher /path/to/gopher.hjson gopher stream tcp6 nowait lighttpd /path/to/sgblog sgblog -gopher /path/to/gopher.hjson +@end example + +Example @command{UCSPI-TCP} service running under +@url{http://cr.yp.to/daemontools.html, daemontools}: + +@example +# mkdir -p /var/service/.phlog-ipv6/log +# cd /var/service/.phlog-ipv6 + +# cat > run < log/run <