From b4e37eecb479371945e3cb0e220909db217af48d Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 18 Jun 2022 15:43:50 +0800 Subject: [PATCH] Update install.sh --- plugins/redis/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/redis/install.sh b/plugins/redis/install.sh index ee196d654..bff5832ef 100755 --- a/plugins/redis/install.sh +++ b/plugins/redis/install.sh @@ -35,6 +35,10 @@ Install_redis() Uninstall_redis() { rm -rf $serverPath/redis + + if [ -f /lib/systemd/system/redis.service ];then + rm -rf /lib/systemd/system/redis.service + fi echo "Uninstall_redis" > $install_tmp }