LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how would i start this? (https://www.linuxquestions.org/questions/linux-general-1/how-would-i-start-this-123309/)

dkc_ace 12-06-2003 02:11 PM

how would i start this?
 
When my computer RH9 system starts i would like it to run this command.

./tss.minimal_startscript

it is in the directory : /home/tss/tss2_rc2

where would i put that to make it start if the computer restarts or something?

acid_kewpie 12-06-2003 02:37 PM

you've not said what it does, so where yuo start it depends totally on what you think "start" means in your world.... if you mean on an intitial non-X based non-login way, like a startup service. then add it to the end of /etc/rc.local. if it's anything mroe than that, explain it a bit better.

dkc_ace 12-06-2003 04:48 PM

It is a Teamspeak server startup. It is a game voice server. Dont know how else to explain it.
i just have to maunually run that command every time i start the computer and it gets old. Do you need more info? i have the machine running in run level 3. What do i put in my rc.local file?

./tss_minimalstartup

like that or do i have to make some kinda script?


dkc_ace 12-08-2003 04:02 PM

anyone?

acid_kewpie 12-08-2003 04:12 PM

just that is fine.... well using a FULL path, not a relative one of course. why don't you just try it??

trickykid 12-08-2003 04:24 PM

Quote:

Originally posted by dkc_ace
It is a Teamspeak server startup. It is a game voice server. Dont know how else to explain it.
i just have to maunually run that command every time i start the computer and it gets old. Do you need more info? i have the machine running in run level 3. What do i put in my rc.local file?

./tss_minimalstartup

like that or do i have to make some kinda script?

Put the full path:

/home/tss/tss2_rc2/tss_minimalstartup

As usually /home isn't in the default path to start scripts from, etc.


All times are GMT -5. The time now is 03:46 PM.