Commit bca9f035 authored by 智勇's avatar 智勇

test tail -f

parent f5b004fd
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
echo "start run nodejs" echo "start run nodejs"
package_path="/home/quant_group/project" package_path="/home/quant_group/project"
export NAMESPACE="$NAMESPACE"
echo "NAMESPACE is $NAMESPACE" echo "NAMESPACE is $NAMESPACE"
echo "cd ${package_path}" echo "cd ${package_path}"
cd ${package_path} cd ${package_path}
...@@ -30,6 +29,10 @@ rm -rf ${package_path}/dist.tgz ...@@ -30,6 +29,10 @@ rm -rf ${package_path}/dist.tgz
echo "start cmd from 172.30.220.22:3003" echo "start cmd from 172.30.220.22:3003"
# curl -s "http://172.30.220.22:3003/proconfig/get_info?system_name=${SYSTEM_NAME}&key=start_command" | sh # curl -s "http://172.30.220.22:3003/proconfig/get_info?system_name=${SYSTEM_NAME}&key=start_command" | sh
node ./bin/server.js # node ./bin/server.js
touch /home/quant_group/project/logs/test.log
tail -f /home/quant_group/project/logs/*.log
echo done!!! echo done!!!
\ No newline at end of file
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