#!/bin/bash
nohup central/central -i 100001 -e viet-cmn -log_dir=log -alsologtostderr >/dev/null 2>&1 &
#nohup gm/gm -i 700001 -e viet-cmn -log_dir=log -alsologtostderr >/dev/null 2>&1 &
sleep 2
nohup chat/chat -i 910000 -e viet-cmn -h 10.10.80.107 -p 1001 -log_dir=log -alsologtostderr -m 1 >/dev/null 2>&1 &
sleep 4
nohup report/report -i 1100001 -e viet-cmn -h 10.10.80.107 -p 1001 -log_dir=log -alsologtostderr >/dev/null 2>&1 &
sleep 2
nohup route/route -i 200001 -e viet-cmn -h 10.10.80.107 -p 1001 -log_dir=log -alsologtostderr >/dev/null 2>&1 &
sleep 2
nohup chat/chat -i 900001 -e viet-cmn -h 10.10.80.107 -p 2001 -log_dir=log -alsologtostderr >/dev/null 2>&1 &
sleep 2
nohup cross/cross -i 1000001 -e viet-cmn -h 10.10.80.107 -p 2001 -log_dir=log -alsologtostderr >/dev/null 2>&1 &
sleep 2
nohup logic/logic -i 300001 -e viet-cmn -h 10.10.80.107 -p 2001 -log_dir=log -alsologtostderr 2>&1 &
sleep 2
#nohup logic/logic -i 300002 -e viet-cmn -h 10.10.80.107 -p 2001 -log_dir=log -alsologtostderr >/dev/null 2>&1 &
sleep 30
nohup gateway/gateway -i 400001 -e viet-cmn -h 10.10.80.107 -p 2001 -log_dir=log -alsologtostderr >/dev/null 2>&1 &
sleep 2
#nohup gateway/gateway -i 400002 -e viet-cmn -h 10.10.80.107 -p 2001 -log_dir=log -alsologtostderr >/dev/null 2>&1 &

