Add tor re-install option

This commit is contained in:
Taylor Helsper 2020-02-12 21:04:26 -06:00
parent 912d29ae2d
commit a44c5574ca
3 changed files with 14 additions and 12 deletions

View File

@ -414,8 +414,6 @@ fi
# echo $TOR_UPGRADE_URL > $TOR_UPGRADE_URL_FILE
# fi
apt-get remove -y tor
apt-get install -y tor
# Enable fan control

View File

@ -19,26 +19,29 @@ elif [ "$APP" = "lnd" ]; then
rm -f /home/bitcoin/.mynode/.lnd_url
elif [ "$APP" = "loopd" ]; then
rm -f /home/bitcoin/.mynode/.loop_url
elif [ "$APP" = "btcrpcexplorer" ]; then
rm -f /home/bitcoin/.mynode/.btcrpcexplorer_url
elif [ "$APP" = "joinmarket" ]; then
rm -f /home/bitcoin/.mynode/.joinmarket_url
elif [ "$APP" = "lndconnect" ]; then
rm -f /home/bitcoin/.mynode/.lndconnect_url
elif [ "$APP" = "lndhub" ]; then
rm -f /home/bitcoin/.mynode/.lndhub_url
elif [ "$APP" = "rtl" ]; then
rm -f /home/bitcoin/.mynode/.rtl_url
elif [ "$APP" = "mempoolspace" ]; then
rm -f /mnt/hdd/mynode/settings/mempoolspace_url
systemctl stop mempoolspace
docker rmi mempoolspace
elif [ "$APP" = "joinmarket" ]; then
rm -f /home/bitcoin/.mynode/.joinmarket_url
elif [ "$APP" = "whirlpool" ]; then
rm -f /home/bitcoin/.mynode/.whirlpool_url
elif [ "$APP" = "btcrpcexplorer" ]; then
rm -f /home/bitcoin/.mynode/.btcrpcexplorer_url
elif [ "$APP" = "lndconnect" ]; then
rm -f /home/bitcoin/.mynode/.lndconnect_url
elif [ "$APP" = "rtl" ]; then
rm -f /home/bitcoin/.mynode/.rtl_url
elif [ "$APP" = "tor" ]; then
apt-get remove -y tor
apt-get install -y tor
elif [ "$APP" = "webssh2" ]; then
rm -f /mnt/hdd/mynode/settings/webssh2_url
systemctl stop webssh2
docker rmi webssh2
elif [ "$APP" = "whirlpool" ]; then
rm -f /home/bitcoin/.mynode/.whirlpool_url
else
echo "UNKNOWN APP: $APP"
exit 1

View File

@ -824,6 +824,7 @@
<option value="lndhub">LNDHub</option>
<option value="mempoolspace">Mempool.Space</option>
<option value="rtl">RTL</option>
<option value="tor">Tor</option>
<option value="webssh2">WebSSH2</option>
<option value="whirlpool">Whirlpool</option>
</select>