but I can't understand well the last part of the instruction which is written below
athena-start
There many way to setup that little script, but assuming or both version are on ./stable/server1/ and ./stable/server2.
We could copy this script in ./stable directory and edit him to check and launch our servers.
L_SRV=./server1/login-server_sql
C_SRV1=./server1/char-server_sql
M_SRV1=./server1/map-server_sql
C_SRV2=./server2/char-server_sql
M_SRV2=./server2/map-server_sql
check_files() {
for i in ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2}
do
if [ ! -f ./$i ]; then
echo "$i does not exist, or can't run."
echo "Stop. Check your compile."
exit 1;
fi
done
# more << EOF
echo "Check complete."
echo "Looks good, a nice Athena!"
#EOF
}
'start')
print_start
check_files
exec .{L_SRV}&
exec .{C_SRV1}&
exec .{M_SRV1}&
exec .{C_SRV2}&
exec .{M_SRV2}&
'stop')
killall ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2}
My file directory is like this:
rAthena/trans/athena-start
rAthena/thirdjob/athena-start
Questions:
1) Do I need to copy 1 athena-start and paste it on rAthena(together with trans and thirdjob folder) folder?
Question
Lord Ganja
I have a dual server hosted on a debian os.
My problem now is I don't know how to run athena-start that will open 1 login server, 2 map server and 2 char server.
I read this link -> https://rathena.org/wiki/Multiple_Servers
but I can't understand well the last part of the instruction which is written below
My file directory is like this:
rAthena/trans/athena-start
rAthena/thirdjob/athena-start
Questions:
1) Do I need to copy 1 athena-start and paste it on rAthena(together with trans and thirdjob folder) folder?
2) Which parts do I need to edit on athena-start?
Thanks in advance!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.