Stefan1200's Forum

English => General Discussions => Topic started by: kidi on September 12, 2016, 04:55:51 AM

Title: Not possible to start JTS3 using SH command
Post by: kidi on September 12, 2016, 04:55:51 AM
./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!
Title: Re: Not possible to start JTS3 using SH command
Post by: Stefan1200 on September 12, 2016, 07:50:39 AM
Open the file jts3servermod_startscript.sh
Change line 8: BINARYPATH="$(pwd)"
To: BINARYPATH="/home/ts3/jts3/"
Title: Re: Not possible to start JTS3 using SH command
Post by: kidi on September 12, 2016, 03:21:38 PM
JTS3ServerMod started, for details please view the log file!

Thanks! Closed.