Update install.sh

This commit is contained in:
midoks 2023-10-24 16:38:16 +08:00
parent fdf0c4e02f
commit 305b9ca7cf
1 changed files with 7 additions and 0 deletions

View File

@ -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