Not possible to start JTS3 using SH command

Started by kidi, September 12, 2016, 04:55:51 AM

Previous topic - Next topic

kidi

./home/ts3/jts3/jts3server_startscript.sh start - this one works fine
but as i add this command to my crontab (system auto start)

sh /home/ts3/jts3/jts3servermod_startscript.sh start
i got this error

Output from command sh /home/ts3/jts3/jts3servermod_startscript.sh start ..

Starting the JTS3ServerMod...
Could not find the file JTS3ServerMod.jar, aborting!

Stefan1200

Open the file jts3servermod_startscript.sh
Change line 8: BINARYPATH="$(pwd)"
To: BINARYPATH="/home/ts3/jts3/"

kidi

JTS3ServerMod started, for details please view the log file!

Thanks! Closed.