Commit 1aa1776d authored by 智勇's avatar 智勇

update

parent 2e64b9ce
...@@ -30,12 +30,12 @@ rm -rf ${package_path}/dist.tgz ...@@ -30,12 +30,12 @@ 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
if ls ./*log 1> /dev/null 2>&1; then # if ls ./*log 1> /dev/null 2>&1; then
echo "ls -l ./logs" # echo "ls -l ./logs"
ls -l ./logs # ls -l ./logs
else # else
echo "files do not exist" # echo "files do not exist"
touch ./logs/tmp.log # touch ./logs/tmp.log
fi # fi
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