system位置更改

This commit is contained in:
midoks
2022-07-03 22:22:03 +08:00
parent 0d3a829b6d
commit eec656c278
10 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -26,10 +26,10 @@ fi
if [ "${action}" == "uninstall" ];then
if [ -f /lib/systemd/system/mysql.service ];then
if [ -f /usr/lib/systemd/system/mysql.service ];then
systemctl stop mysql
systemctl disable mysql
rm -rf /lib/systemd/system/mysql.service
rm -rf /usr/lib/systemd/system/mysql.service
systemctl daemon-reload
fi
fi