Commit d829841a authored by Xiaowu Zhang's avatar Xiaowu Zhang

try to run

parent 1a951adb
......@@ -16,7 +16,7 @@ touch /var/log/metadata_collect.log
/sbin/fluent-bit -e /etc/out_gstdout.so -c /etc/flb.conf &
#/sbin/metadata-collect-agent "$$NEWROOT" "$$ERP5_USER" "$$ERP5_PASS" "$$REFERENCE" "$$ERP5_BASE_URL"
/sbin/metadata-collect-agent "$$NEWROOT" "$$ERP5_USER" "$$ERP5_PASS" "$$REFERENCE" "$$ERP5_BASE_URL"
echo "[2020: 2122222]" >> /var/log/metadata_collect.log
......@@ -25,6 +25,7 @@ fluent_bit_is_running="$$(ps -ef | grep "fluent-bit" | grep -v "grep")"
while [ -z "$${fluent_bit_is_running}" ];do
sleep(5)
fluent_bit_is_running="$$(ps -ef | grep "fluent-bit" | grep -v "grep")"
done
endef
......
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