View Full Version : launch service as teamspeak user on startup
is anyone know how to launch the teamspeak service on a linux box (I use a mandrake 9.1 distribution)?
Is the service may run as teamspeak user?
Is it possible to chroot the teamspeak user?
I suppose I need a script in my /etc/rc.d/init.d directory but my tries were unsuccessfull
Any ideas are welcome...
Thanks
Renegat3
17-04-2003, 15:37
Originally posted by ctrlz
I suppose I need a script in my /etc/rc.d/init.d directory but my tries were unsuccessfull
You have to make a symlink of that script to one of the rcX.d dirs! I guess rc2.d should be right (I'm not familiar with Mandrake, on Suse > 7.2 I would choose rc3.d)! There might be a description of the runlevels in the /etc/inittab. So, make a symlink from your script to (e.g.) ../rc2.d/K99tss2d. Then the script will be executed on boot! "K<number>" is the order in which the scripts are executed. Means, the higher the number the later the execution.
Good luck!
R3
EmperorBill
18-04-2003, 04:45
Presumably the K* rc.d link is for stopping the service, and the S* link is for starting it.
sTu.
Renegat3
18-04-2003, 13:03
Originally posted by EmperorBill
Presumably the K* rc.d link is for stopping the service, and the S* link is for starting it.
sTu.
...or maybe that way. As I said, I haven't done this for myself, yet!
"S" could be "start", or "stop", or shutdown. And "K", well..., whatever!
I just thought "K" comes before "S" in the alphabet ;)
regs
R3
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.