-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathrun.sh
29 lines (27 loc) · 800 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
sh stop.sh
node app/servers/gate/gate.js -e development &
sleep 1
node app/servers/connector/connector.js -e development -c 1 &
sleep 1
node app/servers/connector/connector.js -e development -c 2 &
sleep 1
node app/servers/connector/connector.js -e development -c 3 &
sleep 1
node app/servers/connector/connector.js -e development -c 4 &
sleep 1
node app/servers/log/log.js -e development &
sleep 1
node app/servers/db/db.js -e development &
sleep 1
node app/servers/world/world.js -e development &
sleep 1
node app/servers/chat/chat.js -e development &
sleep 1
node app/servers/login/login.js -e development &
sleep 1
node app/servers/game/game.js -e development -g 1 &
sleep 1
node app/servers/game/game.js -e development -g 2 &
sleep 1
node app/servers/game/game.js -e development -g 3