~moody/rc-gemd

a2e3a1a4993a12d21ab28ffc55ebb95d97ac7970 — Jacob Moody a month ago bc47538 master
Add note about using aux/listen (thanks sl)
1 files changed, 5 insertions(+), 0 deletions(-)

M README
M README => README +5 -0
@@ 18,6 18,11 @@ cat /lib/ssl/gem.key >> /mnt/factotum/ctl
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