<commit_before><commit_msg>add follow_start<commit_after>#!/bin/sh

docker logs -f mgmt &
pid=$!

while ! test -f /opt/engines/run/services/mgmt/run/flags/startup_complete 
 do
    sleep 5
 done
 
 kill $pid
 
 gw_ifac=`netstat -nr |grep ^0.0.0.0 | awk '{print $8}'`

lan_ip=`/sbin/ifconfig $gw_ifac |grep "inet addr"  |  cut -f 2 -d: |cut -f 1 -d" "`
ext_ip=`curl http://ipecho.net/plain`
echo please visit https://$lan_ip:10443/ or https://$ext_ip:10443/
{'fraction_non_alphanumeric': 0.17324561403508773, 'fraction_numerical': 0.039473684210526314, 'mean_word_length': 3.57, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '614020', 'n_tokens_mistral': 212, 'n_tokens_neox': 190, 'n_words': 45}