From b76c846b514419e446107cc2d86d65305865aae6 Mon Sep 17 00:00:00 2001 From: XMRZombie Date: Fri, 4 Apr 2025 22:02:16 +0000 Subject: [PATCH] Create haveno-with-external-tor.sh --- scripts/deployment/haveno-with-external-tor.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 scripts/deployment/haveno-with-external-tor.sh diff --git a/scripts/deployment/haveno-with-external-tor.sh b/scripts/deployment/haveno-with-external-tor.sh new file mode 100644 index 0000000000..a89bc83a61 --- /dev/null +++ b/scripts/deployment/haveno-with-external-tor.sh @@ -0,0 +1,5 @@ +#!/bin/sh +TORHOME="$HOME/.local/share/Haveno/xmr_mainnet/tor" +tor -f $TORHOME/torrc --ControlPortWriteToFile $TORHOME/.tor/control.port --DisableNetwork 0 +/opt/haveno/bin/Haveno --torControlUseSafeCookieAuth --torControlCookieFile=$TORHOME/.tor/control_auth_cookie --torControlPort=$(cat $TORHOME/.tor/control.port | sed 's/.*:\([0-9]\+\)/\1/') +kill $(cat $TORHOME/pid)