mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-19 15:00:39 -04:00
Create haveno-with-external-tor.sh
This commit is contained in:
parent
024e59a982
commit
b76c846b51
1 changed files with 5 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue