diff --git a/go-daemon/install.sh b/go-daemon/install.sh index fdc414a..f27e645 100644 --- a/go-daemon/install.sh +++ b/go-daemon/install.sh @@ -4,6 +4,11 @@ # Pre-Cleaning sudo rm /usr/bin/godaemon1 sudo rm -rf /usr/lib/godaemon1/ +sudo systemctl disable godaemon1 +sudo systemctl stop godaemon1 +sudo systemctl daemon-reload +sudo rm /godaemon1.log godaemon1.pid +sudo rm /etc/godaemon1/godaemon1.log /etc/godaemon1/godaemon1.pid # Building temp_dir="$(mktemp -d)"