-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.sh
executable file
·113 lines (95 loc) · 2.62 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#!/bin/bash
## 可以自定义的启动脚本. 位于 /root/run.sh
cd /home/neople/stun
chmod 777 *
rm -f /home/neople/stun/pid/*.pid
rm -rf /home/neople/stun/log/*.*
./df_stun_r start &
cd /home/neople/monitor
chmod 777 *
rm -f /home/neople/monitor/pid/*.pid
rm -rf /home/neople/monitor/log/*.*
./df_monitor_r mnt_siroco start &
cd /home/neople/manager
chmod 777 *
rm -f /home/neople/manager/pid/*.pid
rm -rf /home/neople/manager/log/*.*
./df_manager_r manager start &
cd /home/neople/relay
chmod 777 *
rm -f /home/neople/relay/pid/*.pid
rm -rf /home/neople/relay/log/*.*
./df_relay_r relay_200 start &
cd /home/neople/bridge
chmod 777 *
rm -f /home/neople/bridge/pid/*.pid
rm -rf /home/neople/bridge/log/*.*
./df_bridge_r bridge start &
cd /home/neople/channel
chmod 777 *
rm -f /home/neople/channel/pid/*.pid
rm -rf /home/neople/channel/log/*.*
./df_channel_r channel start &
cd /home/neople/dbmw_guild
chmod 777 *
rm -f /home/neople/dbmw_guild/pid/*.pid
rm -rf /home/neople/dbmw_guild/log/*.*
./df_dbmw_r dbmw_gld_siroco start &
cd /home/neople/dbmw_mnt
chmod 777 *
rm -f /home/neople/dbmw_mnt/pid/*.pid
rm -rf /home/neople/dbmw_mnt/log/*.*
./df_dbmw_r dbmw_mnt_siroco start &
cd /home/neople/dbmw_stat
chmod 777 *
rm -f /home/neople/dbmw_stat/pid/*.pid
rm -rf /home/neople/dbmw_stat/log/*.*
./df_dbmw_r dbmw_stat_siroco start &
cd /home/neople/auction
chmod 777 *
rm -f /home/neople/auction/pid/*.pid
rm -rf /home/neople/auction/log/*.*
./df_auction_r ./cfg/auction_siroco.cfg start ./df_auction_r &
cd /home/neople/point
chmod 777 *
rm -f /home/neople/point/pid/*.pid
rm -rf /home/neople/point/log/*.*
./df_point_r ./cfg/point_siroco.cfg start df_point_r &
cd /home/neople/guild
chmod 777 *
rm -f /home/neople/guild/pid/*.pid
rm -rf /home/neople/guild/log/*.*
./df_guild_r gld_siroco start &
cd /home/neople/statics
chmod 777 *
rm -f /home/neople/statics/pid/*.pid
rm -rf /home/neople/statics/log/*.*
./df_statics_r stat_siroco start &
cd /home/neople/coserver
chmod 777 *
rm -f /home/neople/coserver/pid/*.pid
rm -rf /home/neople/coserver/log/*.*
./df_coserver_r coserver start &
cd /home/neople/community
chmod 777 *
rm -f /home/neople/community/pid/*.pid
rm -rf /home/neople/community/log/*.*
./df_community_r community start &
cd /home/neople/secsvr/gunnersvr
chmod 777 *
rm -f /home/neople/secsvr/gunnersvr/*.pid
./gunnersvr -t30 -i1 &
cd /home/neople/secsvr/zergsvr
chmod 777 *
rm -f /home/neople/secsvr/zergsvr/*.pid
./secagent &
./zergsvr -t30 -i1 &
cd /home/neople/game
chmod 777 *
rm -rf /home/neople/game/log/*
sleep 2
./df_game_r siroco11 start &
sleep 2
#./df_game_r siroco52 start &
sleep 2
./df_game_r siroco56 start &