Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- mkdir ~/whirlpool
- cd ~/whirlpool
- wget -O whirpool.jar https://github.com/Samourai-Wallet/whirlpool-client-cli/releases/tag/0.9.3
- sudo systemctl stop whirlpool > /dev/null 2>&1
- sudo rm -rf /etc/systemd/system/whirlpool.service > /dev/null 2>&1
- echo "
- [Unit]
- Description=Whirlpool
- After=tor.service
- [Service]
- WorkingDirectory=/home/kodachi/whirlpool
- ExecStart=/usr/bin/java -jar /home/kodachi/whirlpool.jar --server=mainnet --tor --auto-mix --mixs-target=3 --listen
- User=kodachi
- Group=kodachi
- Type=simple
- KillMode=process
- TimeoutSec=60
- Restart=always
- RestartSec=60
- [Install]
- WantedBy=multi-user.target
- " | sudo tee -a /etc/systemd/system/whirlpool.service
- sudo systemctl daemon-reload
- sudo systemctl start whirlpool
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement