shithub: rc-gemd

Download patch

ref: a2e3a1a4993a12d21ab28ffc55ebb95d97ac7970
parent: bc47538e495dfe311a86f301bfae581767b47898
author: Jacob Moody <[email protected]>
date: Fri Mar 12 12:37:20 EST 2021

Add note about using aux/listen (thanks sl)

--- a/README
+++ b/README
@@ -18,6 +18,11 @@
 Then to start the server you can do:
 aux/listen1 tcp!*!1965 tlssrv -c /lib/ssl/gem.cert /rc/bin/rc-gemd/rc-gemd
 
+If aux/listen is preferred then the following can be used as a tcp1965:
+#!/bin/rc
+net=$3
+exec tlssrv -c /lib/ssl/gem.cert /rc/bin/rc-gemd/rc-gemd >>[2]/sys/log/gemini
+
 The tls files can be generated by running the following commands:
 mkdir -p /lib/ssl
 auth/rsagen -t 'service=tls owner=*' >/lib/ssl/gem.key