Update install.sh

pull/621/head
Mr Chen 10 months ago
parent e743499825
commit 6b8d2622b4
  1. 3
      plugins/memcached/install.sh

@ -39,7 +39,7 @@ Install_mem(){
if [ -d $serverPath/memcached ];then if [ -d $serverPath/memcached ];then
echo '1.6' > $serverPath/memcached/version.pl echo '1.6' > $serverPath/memcached/version.pl
echo 'install ok' > $install_tmp echo '安装memcached成功'
cd ${rootPath} && python3 ${rootPath}/plugins/memcached/index.py start cd ${rootPath} && python3 ${rootPath}/plugins/memcached/index.py start
cd ${rootPath} && python3 ${rootPath}/plugins/memcached/index.py initd_install cd ${rootPath} && python3 ${rootPath}/plugins/memcached/index.py initd_install
@ -62,6 +62,7 @@ Uninstall_mem()
$serverPath/memcached/initd/memcached stop $serverPath/memcached/initd/memcached stop
fi fi
rm -rf $serverPath/memcached rm -rf $serverPath/memcached
echo '卸载memcached成功'
} }

Loading…
Cancel
Save