shithub: privategrid

ref: 9ea7a82f935a19d9ce61b6cdca12dc098c71c2b1
dir: /gridstart/05wiki/

View raw version
#!/bin/rc

#myip=45.76.22.6
rimport -a cpu32 /srv
mount -c /srv/registry /mnt/registry
auth/factotum
#echo 'key proto=dp9ik user=glenda dom=grid !password=9gridchan' >/mnt/factotum/ctl
wikifs -p 666 -s gridwiki /sys/lib/wiki
ip/httpd/httpd
hub -b listenwiki
mount /srv/listenwiki /n/listenwiki
echo 'gridlisten1 -tv -d gridwiki -m /mnt/wiki tcp!*!17035 /bin/exportfs -S /srv/gridwiki' >>/n/listenwiki/io0
hub -b listenwikitls
mount /srv/listenwikitls /n/listenwikitls
echo 'gridlisten1 -tv -d gridwiki -m /mnt/wiki tcp!*!27035 tlssrv -A /bin/aux/trampoline tcp!127.1!17035' >>/n/listenwikitls/io0