LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Starting a server on boot- Running it in VT5? (https://www.linuxquestions.org/questions/linux-software-2/starting-a-server-on-boot-running-it-in-vt5-510193/)

timothyb89 12-13-2006 06:40 PM

Starting a server on boot- Running it in VT5?
 
I have a server I'm trying to start, and I'm wondering if it is possible to execute a script (on start, from an init.d script) in a VT, such as VT5.

I have the script nearly made. I'm trying to run "screen sleep 15; /serverdir/start.sh" but screen just makes init finish in the newly created screen, and the server I'm trying to start starts up in VT1.

So is there a command that I can run that starts the server in VT5 and keeps init going normally? Possibly running this as a script?


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