Update instructions

* Read index.html from repo
This commit is contained in:
iacore 2023-12-04 14:03:43 +00:00
parent 80a248a775
commit 9aa75639f9
Signed by: iacore
GPG key ID: F8C16E5157A63006
2 changed files with 5 additions and 3 deletions

View file

@ -19,10 +19,12 @@
<p>Then, use Copy Link on links below and put those links on your website. Remember to replace placeholder inside each link with your own.</p>
<li><a href="random">Random in ring</a></li>
<li><a href="next?urlpart=example.com">Next in ring (by part of url)</a></li>
<li><a href="next?id=YOURID">Next in ring (by id)</a></li>
<li><a href="previous?urlpart=example.com">Previous in ring (by part of url)</a></li>
<li><a href="previous?id=YOURID">Previous in ring (by id)</a></li>
<li><a href="next?urlpart=example.com">Next in ring (by part of url)</a></li>
<li><a href="previous?urlpart=example.com">Previous in ring (by part of url)</a></li>
<p>(legacy feature: <code>host=xxx</code> works the same as <code>urlpart=xxx</code> now)</p>
<h2>Websites in ring</h2>

View file

@ -7,7 +7,7 @@ cd (dirname (status -f))
rm $SOCKET_PATH -f
lljail -r /usr -r /bin -rw /tmp -r /etc -r $CONF_PATH -r . -rw (dirname $SOCKET_PATH) -- ./go-webring -i $CONF_PATH/index.html -l $SOCKET_PATH -m $CONF_PATH/list.txt &
lljail -r /usr -r /bin -rw /tmp -r /etc -r $CONF_PATH -r . -rw (dirname $SOCKET_PATH) -- ./go-webring -i index.html -l $SOCKET_PATH -m $CONF_PATH/list.txt &
sleep 1
chmod 770 $SOCKET_PATH