Update install.sh

pull/113/head
midoks 3 years ago
parent 854d1de54a
commit 3b134ec2c1
  1. 14
      plugins/php/install.sh

@ -31,4 +31,18 @@ if [ ! -d $curPath/versions/$2 ];then
exit 0
fi
if [ "${action}" == "uninstall" ];then
#初始化
cd ${rootPath} && python3 ${rootPath}/plugins/php/index.py stop ${type}
cd ${rootPath} && python3 ${rootPath}/plugins/php/index.py initd_uninstall ${type}
fi
sh -x $curPath/versions/$2/install.sh $1
if [ "${action}" =="install" ];then
#初始化
cd ${rootPath} && python3 ${rootPath}/plugins/php/index.py start ${type}
cd ${rootPath} && python3 ${rootPath}/plugins/php/index.py initd_install ${type}
fi

Loading…
Cancel
Save