cbonar
04-05-2003, 21:14
For newbies : this procedure allows the TeamSpeak server v2.0.19.16 to be run as a daemon on a Mandrake 9.1 system (each time ou start your machine).
This is quite simple, but I didn't have the knowledge of this before, and I guess I'm not the only one. Check http://lea-linux.org/admin/daemons.php3 for french explanations
- install as the readme.txt says (creation of tss user, ...)
- then you have to su root
- then cd to /etc/init.d and create a new launch script (e.g. /etc/init.d/teamspeak). For that you just have to use the existing script : tss.minimal_startscript, which is quite complete, and add the following two lines in the top comments :
# description: My TeamSpeak server
# chkconfig: 2345 99 0
- chmod +x teamspeak
- chmod +s /home/tss/tss2_rc2/linux_server program
- register the script with chkconfig, and establish the runlevels for it :
chkconfig --add teamspeak
chkconfig --level 123456 teamspeak off
chkconfig --level 2345 teamspeak on
should be ok (I also had to install mySQL so the changes I made via the web interface are saved)
reboot and launch the client on 127.0.0.1 to test
This is quite simple, but I didn't have the knowledge of this before, and I guess I'm not the only one. Check http://lea-linux.org/admin/daemons.php3 for french explanations
- install as the readme.txt says (creation of tss user, ...)
- then you have to su root
- then cd to /etc/init.d and create a new launch script (e.g. /etc/init.d/teamspeak). For that you just have to use the existing script : tss.minimal_startscript, which is quite complete, and add the following two lines in the top comments :
# description: My TeamSpeak server
# chkconfig: 2345 99 0
- chmod +x teamspeak
- chmod +s /home/tss/tss2_rc2/linux_server program
- register the script with chkconfig, and establish the runlevels for it :
chkconfig --add teamspeak
chkconfig --level 123456 teamspeak off
chkconfig --level 2345 teamspeak on
should be ok (I also had to install mySQL so the changes I made via the web interface are saved)
reboot and launch the client on 127.0.0.1 to test