i need auto startup script on boot for jts3servermod

mouadhmgc

Member
Apr 20, 2016
10
0
35
its not a service i'm using this start command : screen -S ts3bot java -mx30M -jar JTS3ServerMod.jar
 

freets3.ovh

Active Member
Sep 19, 2015
150
105
85
Go to /etc/init create a file : ts3bot.conf and put this

Code:
# ts3bot
#
# bot teamspeak

description  "bot teamspeak"

start on runlevel [2345]
stop on runlevel [!2345]

pre-start script
  cd /home/botts3/ & screen -S ts3bot java -mx30M -jar JTS3ServerMod.jar

end script
 
Top