From f95be4d39ebdb879aa22fdca146274f7655d932c Mon Sep 17 00:00:00 2001 From: asandikci Date: Sat, 29 Jul 2023 13:43:05 +0300 Subject: [PATCH] tmp: install script update --- go-daemon/install.sh | 5 +++++ 1 file changed, 5 insertions(+) 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)"