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 5 of 5
  1. #1
    Join Date
    January 2011
    Location
    Denmark
    Posts
    9

    Question Bin Bash - Start up file [CentOS]

    I was wondering, if the following file was okay & working?
    Code:
    #!/bin/bash
    # chkconfig: 1337 90 10
    # descripton: teamspeak
    cd /root/ts3
    ./start.sh restart
    (I know I shouldn't use root).

    That's a file called "teamspeak" in /etc/int.d
    I also typed this in console: chkconfig --add teamspeak
    My boot takes like 15 minutes, and it used to take like, 20 seconds or so? Please note it's a VPS.
    It also uses 500% more load than usually. (Under the boot)

    Specs:
    Code:
    CentOS 6
    1GB ram
    i7 (Shared)
    64 bit
    Last edited by duerdum9; May 3rd, 2012 at 11:41 PM.

  2. #2
    Join Date
    June 2011
    Location
    Baghdad, Iraq
    Posts
    367
    you can use the crontab and add teamspeak

    follow this
    http://forum.teamspeak.com/showthrea...-Server-CentOS

    it works like a charm

  3. #3
    Join Date
    January 2011
    Location
    Denmark
    Posts
    9
    I did, but it says "crontab unknown command". So I guess it's not in CentOS 6

  4. #4
    Join Date
    January 2010
    Location
    Germany
    Posts
    2,029
    yum provides "*/crontab"

  5. #5
    Join Date
    June 2011
    Location
    Baghdad, Iraq
    Posts
    367
    it is on CentOS 6 i just did it few days ago on CentOS 6.2

    maybe not on your machine so just install crontab

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: March 13th, 2015, 03:42 PM
  2. CentOS 5 & 6 Start Errors
    By Crucial in forum Linux / FreeBSD
    Replies: 6
    Last Post: March 19th, 2013, 11:23 AM
  3. [Resolved] Centos 6 x86_64 - unable to start - "libts3db_mysql.so"
    By herkalurk in forum Linux / FreeBSD
    Replies: 15
    Last Post: April 21st, 2012, 06:41 PM
  4. How to start TS3 with a .sh file
    By Cool16 in forum Server Support
    Replies: 2
    Last Post: May 15th, 2010, 01:22 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
  •