I have installed TeamSpeak on my linux Box (Redhat 9) and am trying to get it to load up on boot up. From a look around the forums i think i want to be editing rc.local.
I have already done this for VNC, and that will load on boot up, but i cannot get TeamSpeak to do it.
here are the lines i am trying to get running
#Start up vncserver
su -l hazzie -c 'vncserver :1 -depth 16 -geometry 1024x768'
#Start Up the TeamSpeak Server
su -l hazzie -c '/home/hazzie/TeamSpeak/tss2_rc2/tss.minimal_startscript start'
now as i understand things doing the su -l hazzie -c
bit runs the program under the rights of the user mentioned.
if i log in as hazzie and go to the folder and issue the command
[hazzie@HazzieLinux tss2_rc2]$ tss.minimal_startscript start
everything works fine.
so my questions are
1) does it look like i have the line for teamspeak correct in rc.local?
2) what does rc.local actualy mean? if its for programs to run on boot up why is it not called rc.bootup i.e. what does the rc and the local relate to?
3) is their a log file to inspect to see why my line did not work?
Thanks for any tips any one can give me.