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