Commit b351ff81 authored by Xiaowu Zhang's avatar Xiaowu Zhang

xx

parent 4c3e27a9
......@@ -21,10 +21,11 @@ REFERENCE="COMP-MAC-$$(echo "$$DEFAULT_IF_MAC" | sed s/:/-/g).Metadata.Snapshot"
echo "[2020: 2122222]" >> /var/log/metadata_collect.log
echo "[2020: 1234232]" >> /var/log/metadata_collect.log
fluent_bit_is_running="$$(ps -ef | grep "fluent-bit" | grep -v "grep")"
echo $${fluent_bit_is_running}
while [ -z "$${fluent_bit_is_running}" ];do
sleep(5)
sleep 10
fluent_bit_is_running="$$(ps -ef | grep "fluent-bit" | grep -v "grep")"
echo $${fluent_bit_is_running}
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