start.sh 1.1 KB

12345678910111213141516
  1. #!/usr/bin/env bash
  2. nohup ./gate -config ./gate_config.yaml -server gate1> gate.out 2>&1 &
  3. nohup ./game -config ./game_config.yaml -server game1> game.out 2>&1 &
  4. nohup ./db -config ./db_config.yaml -server db1> db.out 2>&1 &
  5. nohup ./auth -config ./auth_config.yaml -server auth1> auth.out 2>&1 &
  6. nohup ./social -config ./social_config.yaml -server social1> social.out 2>&1 &
  7. nohup ./battleboss -config ./battleboss_config.yaml -server battleboss1> battleboss.out 2>&1 &
  8. nohup ./rank -config ./rank_config.yaml -server rank1> rank.out 2>&1 &
  9. nohup ./guild -config ./guild_config.yaml -server guild1> guild.out 2>&1 &
  10. nohup ./gmweb -config ./gmweb_config.yaml -server gmweb1> gmweb.out 2>&1 &
  11. nohup ./battlerecord -config ./battlerecord_config.yaml -server battlerecord1> battlerecord.out 2>&1 &
  12. #cross
  13. nohup ./crossrouter -config ./crossrouter_config.yaml -server crossrouter1> crossrouter.out 2>&1 &
  14. nohup ./crossserver -config ./crossserver_config.yaml -server crossserver1> crossserver.out 2>&1 &
  15. nohup ./crossrank -config ./crossrank_config.yaml -server crossrank1> crossrank.out 2>&1 &