Binding a interactive service to its own TTY
Is this possible ? ive been asked to set up a linux box as a counterstrike source server, that was trivial, however would it be possible to bind the programs I/O to a TTY so that output and commands can be run on a TTY without a user having to login ?
|
I don't know anything about counterstrike source server. Assuming it is a console app which can run in a terminal, I'd just run it in screen. If you want to re-launch it on crashes, just wrap it in a script which keeps calling the program in a loop.
By running in screen, you can disconnect the program from the tty it is on, leave it running in the background, log out, and at a later date, log in and re-attach the screen session to whichever tty you are now logged in to. |
All times are GMT -5. The time now is 08:38 PM. |