Results 1 to 1 of 1
-
27-02-2012, 04:24 #1
-= TeamSpeak User =-
- Join Date
- Nov 2011
- Posts
- 2
Tutorial on how to auto-start TS3 Server for Mac on reboot
I fought with trying to use launchd to start my instance of ts3server_mac.
I am using MySQL and the problem was that ts3server_mac attempted to start before MySQL was ready.
My environment is:
Mac OSX Server 10.7.3
MySQL & MySQL System Preferences Pane Installed from mysql.com
I have a limited user called teamspeak as an account to run TS3
My teamspeak server instance is located here:
Code:/Users/teamspeak/ts3server/
Here is what I did to reliably set ts3server_mac to start up automatically upon reboot:
reboot your mac server and teamspeak should startup automaticallyCode:As an Administrative user of the system open a terminal and do: sudo -i cd /Users/teamspeak/ts3server/ nano ts3server_mac_delayed put this code in that file: #!/bin/sh sleep 15 cd /Users/teamspeak/ts3server su teamspeak -c "./ts3server_mac inifile=ts3server.ini &" save and exit the nano editor by doing CTRL X chown teamspeak:staff /Users/teamspeak/ts3server/ts3server_mac_delayed chmod 775 /Users/teamspeak/ts3server/ts3server_mac_delayed crontab -e (this will bring you into the vi editor google vi cheat sheet for more info) press i to insert text paste this code into vi: @reboot /Users/teamspeak/ts3server/ts3server_mac_delayed hit esc and press ZZ which will save and exit the file
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
After reboot the server ts3 does not start
By Tempik in forum Linux / FreeBSDReplies: 0Last Post: 01-12-2010, 20:27 -
auto start@reboot debian
By kwski43 in forum [TeamSpeak 2] Server SupportReplies: 2Last Post: 20-02-2009, 15:52 -
after reboot server wont start
By drherdma in forum [TeamSpeak 2] Server SupportReplies: 0Last Post: 31-08-2006, 04:32 -
Auto-start server after reboot
By halo_quebec in forum [TeamSpeak 2] Server SupportReplies: 1Last Post: 02-11-2005, 08:19 -
Cannot start server on reboot
By Brycopc in forum [TeamSpeak 2] Server SupportReplies: 0Last Post: 12-07-2005, 06:57


Reply With Quote