Srikanth Vavilapalli | b2a5019 | 2017-02-03 18:25:59 +0000 | [diff] [blame] | 1 | while [[ 1 ]]; do |
2 | make cord-monitoringservice | ||||
3 | if [[ $? -ne 0 ]]; then | ||||
4 | echo "fail!" | ||||
5 | exit | ||||
6 | fi | ||||
7 | docker cp kill-mon.py cordpod_xos_ui_1:/opt/xos/ | ||||
8 | sudo docker exec -it cordpod_xos_ui_1 python /opt/xos/kill-mon.py | ||||
9 | sleep 10s | ||||
10 | done |