Skip to content

Instantly share code, notes, and snippets.

@PurpleCrypto
Created September 3, 2021 16:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PurpleCrypto/249a5f7bb8d681233b96178ee310f4ec to your computer and use it in GitHub Desktop.
Save PurpleCrypto/249a5f7bb8d681233b96178ee310f4ec to your computer and use it in GitHub Desktop.
Daemon script to create Monero daemon which can be used with the GUI
cat << EOF > start-daemon.AppImage
#!/bin/bash
export DNS_PUBLIC=tcp
gnome-terminal -- bash -c \
"torsocks \"$PWD/monerod\" \
--no-igd \
--prune-blockchain \
--p2p-bind-ip 127.0.0.1 \
--rpc-bind-ip 127.0.0.1 \
--rpc-bind-port 17600 \
--data-dir /media/amnesia/WD-SSD/Monero \
;read -p \"Press enter to close\""
EOF
chmod +x start-daemon.AppImage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment