Update install.sh

pull/601/head
Mr Chen 11 months ago
parent c96bb414fe
commit 27fbc15469
  1. 10
      plugins/php-apt/install.sh

@ -73,6 +73,16 @@ if [ "${action}" == "uninstall" ] && [ -d ${serverPath}/php-apt/${type} ];then
#初始化
cd ${rootPath} && python3 ${rootPath}/plugins/php-apt/index.py stop ${type}
cd ${rootPath} && python3 ${rootPath}/plugins/php-apt/index.py initd_uninstall ${type}
if [ -f /lib/systemd/system/php${apt_ver}-fpm.service ];then
rm -rf /lib/systemd/system/php${apt_ver}-fpm.service
fi
if [ -f /lib/systemd/system/system/php${apt_ver}-fpm.service ];then
rm -rf /lib/systemd/system/php${apt_ver}-fpm.service
fi
systemctl daemon-reload
fi
cd ${curPath} && sh -x $curPath/versions/$2/install.sh $1

Loading…
Cancel
Save