Update install.sh

This commit is contained in:
midoks
2023-10-24 15:46:34 +08:00
parent 0fac1b026b
commit 579b118495
+7
View File
@@ -65,6 +65,13 @@ Uninstall_App()
systemctl daemon-reload
fi
if [ -f /lib/systemd/system/keepalived.service ];then
systemctl stop keepalived
systemctl disable keepalived
rm -rf /lib/systemd/system/keepalived.service
systemctl daemon-reload
fi
if [ -f $serverPath/keepalived/initd/keepalived ];then
$serverPath/keepalived/initd/keepalived stop
fi