Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 9 of 9
  1. #1
    Join Date
    February 2016
    Location
    Croatia
    Posts
    8

    Autostart script on reboot

    Greetings, is there any working script for autostarting teamspeak3 on reboot on linux(centos 6)? thanks in advance

  2. #2
    Join Date
    February 2012
    Location
    Germany
    Posts
    577
    Yes, there is a huge amount of autostart scripts. Just google for it, for example paste the text of your message into Google and you will get many examples as search result. You can omit the "greetings" and "thanks in advance" parts of your message - just paste the remaining text as query.

  3. #3
    Join Date
    April 2015
    Posts
    38
    If you want to have teamspeak start-up automatically after a server restart you should add a cron job. To add the cron job run the following commands. Also make sure you're logged into the "ts3srv" account and not root!

    Code:
    crontab -e
    Code:
    Press the "I" key.
    This will allow you to add text into the cronjob file. In the bottom left corner it should say (-- INSERT --)

    When it says that write this in window.

    32-bit
    Code:
    @reboot /home/ts3srv/teamspeak3-server_linux-x86/ts3server_startscript.sh start
    64bit
    Code:
    @reboot /home/ts3srv/teamspeak3-server_linux-amd64/ts3server_startscript.sh start
    Once you write that in press the "ESC" key on your keyboard. Then type this in.
    Code:
    :wq
    IMPORTANT


    If you are using 3.0.12 version, you must use this instead:

    64bit
    Code:
    @reboot /home/ts3srv/teamspeak3-server_linux_amd64/ts3server_startscript.sh start
    I don't know about 32 bit since I'm using 64bit.

  4. #4
    Join Date
    December 2004
    Location
    RF
    Posts
    3,008
    That's the worst possible way to start TS3. No, rc.local would be worse.

  5. #5
    Join Date
    February 2016
    Location
    Croatia
    Posts
    8
    Well I saw lots of scripts on google and here but to be honest they didn't actually work so thats why I'm asking for help @ANR Daemon why is that worste possible way? You have any better easier/faster?

  6. #6
    Join Date
    December 2004
    Location
    RF
    Posts
    3,008
    There's a lot of normal scripts, especially for CentOS, which, to my knowledge, using standard SystemV initd.

    This one is bad, because you can't control its execution, can't stop or restart it, not to mention, it will be started with root privileges, which automatically invalidate any possible support from the community, as running TS as root user is NOT SUPPORTED.

  7. #7
    Join Date
    February 2016
    Location
    Croatia
    Posts
    8
    Quote Originally Posted by ANR Daemon View Post
    There's a lot of normal scripts, especially for CentOS, which, to my knowledge, using standard SystemV initd.

    This one is bad, because you can't control its execution, can't stop or restart it, not to mention, it will be started with root privileges, which automatically invalidate any possible support from the community, as running TS as root user is NOT SUPPORTED.
    Can you please show me one of those normal scripts here, if its not 2 hard?

  8. #8
    Join Date
    December 2004
    Location
    RF
    Posts
    3,008

  9. #9
    Join Date
    February 2016
    Posts
    2
    Yes there is one great thread which helped me alot

    http://forum.teamspeak.com/threads/6...os-5-%285-x%29

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Linux autostart script
    By Ar2rJke in forum Linux / FreeBSD
    Replies: 1
    Last Post: October 12th, 2011, 10:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •