GameServer_loop.sh & mysql restart

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
achilless
Posts: 153
Joined: Thu Oct 02, 2008 7:40 pm
Location: Russia & Ukraine

GameServer_loop.sh & mysql restart

Post by achilless »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Code: Select all

 #!/bin/bash[b]/etc/init.d/mysql restart[/b]# exit codes of GameServer: while :; do	[ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log"	[ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log" 	java -Dfile.encoding=UTF-8 -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms850m -Xmx850m -cp ./../libs/*:l2jserver.jar com.l2jserver.gameserver.GameServer > log/stdout.log 2>&1	[ $? -ne 2 ] && break#	/etc/init.d/mysql restart	sleep 10done 
can be correctly inserted in the beginning? (/etc/init.d/mysql restart)
with auto restart will restart mysql? if so then would it not fall login server?
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: GameServer_loop.sh & mysql restart

Post by JIV »

why you want restart mysql?
Post Reply