SHARE
TWEET

Untitled

a guest Dec 7th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. mkdir ~/whirlpool
  4. cd ~/whirlpool
  5. wget -O whirpool.jar https://github.com/Samourai-Wallet/whirlpool-client-cli/releases/tag/0.9.3
  6. sudo systemctl stop whirlpool > /dev/null 2>&1
  7. sudo rm -rf /etc/systemd/system/whirlpool.service > /dev/null 2>&1
  8.  
  9. echo "
  10. [Unit]
  11. Description=Whirlpool
  12. After=tor.service
  13.  
  14. [Service]
  15. WorkingDirectory=/home/kodachi/whirlpool
  16. ExecStart=/usr/bin/java -jar /home/kodachi/whirlpool.jar --server=mainnet --tor --auto-mix --mixs-target=3 --listen
  17. User=kodachi
  18. Group=kodachi
  19. Type=simple
  20. KillMode=process
  21. TimeoutSec=60
  22. Restart=always
  23. RestartSec=60
  24.  
  25. [Install]
  26. WantedBy=multi-user.target
  27. " | sudo tee -a /etc/systemd/system/whirlpool.service
  28.  
  29. sudo systemctl daemon-reload
  30. sudo systemctl start whirlpool
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top