Skip to content

Yamiru/JTS3BOT-autostart-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

JTS3BOT-autostart-script

JTS3ServerMod - TS3 Server Bot init.d script to automatic start JTS3BOT on boot as diferent user.

status-passed JTS3SERVERMOD - TS3 SERVER BOT OpenJDK Runtime Environment debianos

##Requirements

  • debian based OS
  • sudoers (aptitude install sudo)
  • nano editor (sudo apt-get install nano)
  • screen (sudo apt-get install screen)
  • downloaded JTS3ServerMod - TS3 Server Bot init.d https://www.stefan1200.de/forum/index.php?topic=2.0
  • dir location of mc /opt/ts3bot/
  • installed latest java (sudo apt-get install default-jre)
  • user teamspeak3bot (sudo adduser --disabled-login teamspeak3bot)
  • permission for teamspeak3bot user (sudo chown teamspeak3bot:teamspeak3bot -R /opt/ts3bot)

##How to build

  1. Terminal/Console:

     cd /etc/init.d
     nano ts3bot
  2. paste/rewrite code from ts3bot file ts3bot

  3. CTRL+X

  4. Y (name:ts3bot)

  5. ENTER

  6. Terminal/Console:

     sudo chmod 755 /etc/init.d/ts3bot
    
  7. Terminal/Console:

     sudo update-rc.d ts3bot defaults
    
  8. Terminal/Console:

reboot

##Commands

stop ts3bot : service ts3bot stop

start ts3bot : service ts3bot start

Chceck java version java -version

If you change /etc/init.d/ts3bot file ---> sudo update-rc.d ts3bot defaults & systemctl daemon-reload

If not work starting try to stop service ts3bot stop and start again service ts3bot start !!!

About

JTS3ServerMod / TS3 Server Bot - autostart init.d shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages