mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-06 21:13:59 -04:00
Create haveno-with-external-tor.sh
This commit is contained in:
parent
024e59a982
commit
b76c846b51
5
scripts/deployment/haveno-with-external-tor.sh
Normal file
5
scripts/deployment/haveno-with-external-tor.sh
Normal file
@ -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)
|
Loading…
x
Reference in New Issue
Block a user