From 305b9ca7cf317822a5d8d86c5a322da76854ccd5 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 24 Oct 2023 16:38:16 +0800 Subject: [PATCH] Update install.sh --- plugins/redis/install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/redis/install.sh b/plugins/redis/install.sh index a1830a4c9..ed29e9cf6 100755 --- a/plugins/redis/install.sh +++ b/plugins/redis/install.sh @@ -53,6 +53,13 @@ Uninstall_App() systemctl daemon-reload fi + if [ -f /lib/systemd/system/redis.service ];then + systemctl stop redis + systemctl disable redis + rm -rf /lib/systemd/system/redis.service + systemctl daemon-reload + fi + if [ -f $serverPath/redis/initd/redis ];then $serverPath/redis/initd/redis stop fi