Update install.sh

pull/125/head
midoks 3 years ago
parent 5adcf51a56
commit 03077b4498
  1. 3
      plugins/mysql/install.sh

@ -26,10 +26,11 @@ fi
if [ "${action}" == "uninstall" ];then
if [ -f /usr/lib/systemd/system/mysql.service ];then
if [ -f /usr/lib/systemd/system/mysql.service ] || [ -f /lib/systemd/system/mysql.service ];then
systemctl stop mysql
systemctl disable mysql
rm -rf /usr/lib/systemd/system/mysql.service
rm -rf /lib/systemd/system/mysql.service
systemctl daemon-reload
fi
fi

Loading…
Cancel
Save