Jump to content
  • 0

[help]Loginserver problem On linux


akaa

Question

6 answers to this question

Recommended Posts

  • 0

open loginserver_loop.sh delete the nice -2 (thats a command which dont exist by default on debain so you need to add it by yourself or just delete the call from the loop)

Link to comment
Share on other sites

  • 0

open loginserver_loop.sh delete the nice -2 (thats a command which dont exist by default on debain so you need to add it by yourself or just delete the call from the loop)

#!/bin/bash

 

err=1

until [ $err == 0 ];

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"

nice -n -2 java -Xms512m -Xmx512m -cp javolution.jar:mmocore.jar:c3p0-0.9.1.2.jar:mysql-connector-java-5.0.7-bin.jar:l2jserver.jar net.sf.l2j.loginserver.L2LoginServer > log/stdout.log 2>&1

err=$?

# /etc/init.d/mysql restart

sleep 10;

done

?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock