Dedicated server running as a daemon?
Hi there all... I`m new here and kinda a :newbie: to Linux, but know just enough to hang myself with...hehe. Anyway, down to business... I have a 700MhZ Linux Redhat server running at home (4 computers on network (in a double wide trailer, but that's a whole other story)). Currently I have the server running as a Samba file and print server. I have managed to get a dedicated game server running under Wine for Starseige Tribes, (very tentatively, throws out about 10 fixme errors a second, but still, tested and it works). The problem is I would like to be able to keep the Tribes server running on the server without being logged in, but the only way I can run the Tribes dedicated server (I use the line wine --debugmsg fixme-all -- Tribes.exe -dedicated ) is to be logged into the shell and executing it from there. Is there any way to run a wine application as a daemon and completely ignore all output (or redirect it into a log file)? And while I am here, is there any way to just write the line I use to start Wine into a file and run it as a script? Thankyou all very much for the help in advance.
KJ |
you can stick this line into /etc/rc.d/rc.local and redirect all the errors into a file or disregard them with
wine --debugmsg fixme-all -- /path/to/Tribes.exe -dedicated 2>/dev/null |
All times are GMT -5. The time now is 09:02 PM. |