Author Topic: Not possible to start JTS3 using SH command  (Read 6059 times)

kidi

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • goodgame.by
Not possible to start JTS3 using SH command
« 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!

Stefan1200

  • Administrator
  • *****
  • Posts: 2244
    • View Profile
Re: Not possible to start JTS3 using SH command
« Reply #1 on: September 12, 2016, 07:50:39 AM »
Open the file jts3servermod_startscript.sh
Change line 8: BINARYPATH="$(pwd)"
To: BINARYPATH="/home/ts3/jts3/"

kidi

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • goodgame.by
Re: Not possible to start JTS3 using SH command
« Reply #2 on: September 12, 2016, 03:21:38 PM »
JTS3ServerMod started, for details please view the log file!

Thanks! Closed.