Forum

Results 1 to 11 of 11
  1. #1
    Join Date
    December 2009
    Location
    Maryland
    Posts
    9

    Solved Autostart on Centos

    How do I configure the server to auto start on boot with centos?

  2. #2
    Join Date
    October 2008
    Location
    florida
    Posts
    6

    i hope you get a awnser here

    cause i am running centos also and it wont auto start and i cant close the terminal if i do it kills the server. please let us know

    Thanks Sal

  3. #3
    Join Date
    December 2009
    Location
    Netherlands
    Posts
    10
    typ "ps x" and you have the proces list. to kill a proces just typ kill "proces id"

  4. #4
    Join Date
    December 2009
    Location
    Maryland
    Posts
    9
    Quote Originally Posted by 0wn3r View Post
    typ "ps x" and you have the proces list. to kill a proces just typ kill "proces id"
    that isnt what i asked....could you tell me how to autostart ts3 server on boot?

  5. #5
    Join Date
    December 2009
    Location
    Bergen, Norway
    Posts
    119
    Take a look here!

    http://forum.teamspeak.com/showthread.php?t=46989

    I think CentOS is redhat based so read on and see what they did in Fedora to get it right!
    Last edited by mancert; December 22nd, 2009 at 03:56 AM. Reason: Forgot link :o

  6. #6
    Join Date
    December 2009
    Location
    Eastern Us
    Posts
    68
    Yep mine is autostarting fine on centos

  7. #7
    Join Date
    January 2011
    Location
    Upstate, New York
    Posts
    13

    How Can I Have My TeamSpeak Server Auto Restart on Server Boot?

    Hey guys. Well i am reinstalling my TS3 server because I had to reformat my computer because both of my drives in my raid went bad. When I logged back in I noticed I was not admin anymore and I accidentally set the permissions so no one except the server owner could enter in a token key or anything.

    So I downloaded the current server file and extracted it to the teamspeak user folder in /home/teamspeak/ because I want my server to be run under that account and not root. I created a new ts3server.ini file and put in all my info and I have also put my serverkey.dat file in there as well. When I go to run my server I use screen and I use this command to start my server
    Code:
    ./ts3server_minimal_runscript.sh start inifile=ts3server.ini
    and the server starts up fine and people can connect fine and all that. What I was wondering is, is there a way that I can have my server start up when I boot my server and have it auto restart if it crashes, etc? Is there also a way I can start and run my server with out using screen or anything? My guess is no, but I'm am just wondering. I have tried creating a bash script to put in /etc/init.d/ but it did not work and I am also not a very good programmer.

    I am running the newest version of the TeamSpeak3 Server on CentOS 5.6.

    -Thank You

  8. #8
    Join Date
    January 2011
    Location
    US
    Posts
    260

  9. #9
    Join Date
    October 2011
    Posts
    8
    Try my guide, seems like the easiest solution to me

    http://forum.teamspeak.com/showthrea...190#post298190

  10. #10
    Join Date
    February 2011
    Location
    Russia
    Posts
    23

    CentOs Startup Script

    Hello. Anyone can give me script that teamspeak server will start after reboot dedicated server?
    OS: CentOS 5.7

    *** Thread Merged ***
    Last edited by florian_fr40; February 14th, 2012 at 01:54 PM.

  11. #11
    Join Date
    February 2010
    Location
    Sweden
    Posts
    2

    This is how I do it on my centOS server

    In /etc/rc.local I have the following line which starts teamspeak for me when machine has booted

    Code:
    su - teamspeak -c "/home/teamspeak/teamspeak3-server_linux-amd64/ts3server_startscript.sh start"

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 12
    Last Post: November 27th, 2016, 06:03 PM
  2. Autostart with php
    By psorgen in forum Server Support
    Replies: 10
    Last Post: February 7th, 2014, 10:34 PM
  3. Official Autostart Script on CentOS 6.4
    By Karloz in forum Linux / FreeBSD
    Replies: 2
    Last Post: August 7th, 2013, 11:28 AM

Posting Permissions

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