github.com/sagernet/sing-box@v1.9.0-rc.20/release/local/uninstall.sh (about)

     1  #!/usr/bin/env bash
     2  
     3  sudo systemctl stop sing-box
     4  sudo rm -rf /var/lib/sing-box
     5  sudo rm -rf /usr/local/bin/sing-box
     6  sudo rm -rf /usr/local/etc/sing-box
     7  sudo rm -rf /etc/systemd/system/sing-box.service
     8  sudo systemctl daemon-reload