Commit 3fafcfab authored by kalvin's avatar kalvin

替换启动脚本

parent 26b80fdb
......@@ -109,7 +109,7 @@ else
echo "kill java process"
kill -9 $(ps -ef |grep '/home/quant_group/project/app.jar' | grep -v 'grep' | awk '{ print $2 }')
echo 192.168.3.11 ldap.quantgroups.com >> /etc/hosts
echo 192.168.6.13 eos.quantgroups.com >> /etc/hosts
echo 192.168.4.117 apollo-dev.quantgroups.com >> /etc/hosts
......
......@@ -41,7 +41,7 @@ echo "sed sed xyqb.com to q-gp.com"
namespace=`cat /var/run/secrets/kubernetes.io/serviceaccount/namespace`
echo "namespace is $namespace"
echo 192.168.3.11 ldap.quantgroups.com >> /etc/hosts
echo 192.168.6.13 eos.quantgroups.com >> /etc/hosts
# find ${package_path}/ -type f -name "*.js" | xargs sed -i "s/.xyqb.com/-$namespace.q-gp.com/g"
......
......@@ -35,8 +35,6 @@ echo "cd ${package_path}"
cd ${package_path}
source ~/.bash_profile
echo 172.30.5.214 ldap.quantgroups.com >> /etc/hosts
echo "tar zxf dist.tgz -C ${package_path}"
tar zxf ${package_path}/dist.tgz -C ${package_path}/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment