haveno/seednode/uninstall_seednode_debian.sh
napoly 77d3879013
Update script to install Haveno seed node as a system service (#758)
Co-authored-by: alkum <98610826+alkum@users.noreply.github.com>
Co-authored-by: Christoph Atteneder <christoph.atteneder@gmail.com>
Co-authored-by: Stephan Oeste <emzy@emzy.de>
Co-authored-by: Alva Swanson <alvasw@protonmail.com>
2024-03-12 10:46:32 -04:00

11 lines
315 B
Bash
Executable file

#!/bin/sh
echo "[*] Uninstalling Bitcoin and Haveno, will delete all data!!"
sleep 10
sudo rm -rf /root/haveno
sudo systemctl stop bitcoin
sudo systemctl stop haveno-seednode
sudo systemctl disable bitcoin
sudo systemctl disable haveno-seednode
sudo userdel -f -r haveno
sudo userdel -f -r bitcoin
echo "[*] Done!"