updated lantern tutorial

This commit is contained in:
nihilist 2025-03-02 10:38:44 +01:00
parent 1e9a844243
commit 8fcde582c1
5 changed files with 198 additions and 86 deletions

View file

@ -642,7 +642,18 @@ Fast-forward
delete mode 100644 www/participants/zhd7yf675dav6njgc7yjwke2u5cq7d5qim2s7xwa2ukxfzubrguqmzyd.onion/banner.png
</pre></code>
<p>You can automatically perform that git pull using cronjobs like so:</p>
<p>Since v1.0.1 you can now automatically perform that git pull using cronjobs like so:</p>
<pre><code class="nim">
[ Datura ] [ /dev/pts/28 ] [~]
→ crontab -e
#lantern
*/3 0 * * * python3 /srv/darknet-lantern/scripts/uptimechecker.py
<b>0 0 * * * /usr/bin/torsocks /usr/bin/git -C /srv/darknet-lantern/ pull</b>
</pre></code>
<p>That way it'll update your lantern software once a day, at midnight.</p>
<p>Since v1.0.2 you can now also automatically synchronize new links coming from other webring participants using the following cronjob entry:</p>
<pre><code class="nim">
[ Datura ] [ /dev/pts/28 ] [~]
→ crontab -e
@ -650,9 +661,10 @@ Fast-forward
#lantern
*/3 0 * * * python3 /srv/darknet-lantern/scripts/uptimechecker.py
0 0 * * * /usr/bin/torsocks /usr/bin/git -C /srv/darknet-lantern/ pull
<b>0 0 * * * python3 /srv/darknet-lantern/scripts/lantern.py 4</b>
</pre></code>
<p>That way it'll update your lantern software once a day, at midnight.</p>
<p>With those cronjobs, you'll automatically have an updated darknet lantern instance, automatically synchronising new links coming from the webring participants, and with automatically updated statuses, on a daily basis.</p>
</div>