Jump to content
  • 0

[help]Loginserver problem On linux


Question

6 answers to this question

Recommended Posts

  • 0
Posted

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)

  • 0
Posted

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

?

Guest
This topic is now closed to further replies.


×
×
  • Create New...