#!/bin/bash

workDir="/home/win88"
cd $workDir

cd dbproxy
nohup ./win88_dbproxy >/dev/null &
cd $workDir/mgrsrv
nohup ./win88_mgrsrv >/dev/null &
cd $workDir/gatesrv
nohup ./win88_gatesrv >/dev/null &
cd $workDir/gamesrv
nohup ./win88_gamesrv >/dev/null &
cd $workDir/worldsrv
nohup ./win88_worldsrv >/dev/null &

echo "Æô¶¯Íê±Ï µÈ´ý3Ãë Æô¶¯AI."
sleep 3
cd $workDir/robot
nohup ./win88_robot >/dev/null &
echo "check srv states..."
ps -ef | grep win88
