SRCDS Steam group


A few questions.
#1
Hi everyone.

How can i make my server stop and not restart on linux terminal (no desktop gui).

How can i run the server and another program, for example stats console.

How can i make some script to run my server by writing something like exec server.so or something like that?

Thanks if you answer these questions.
Reply
#2
(06-20-2010, 05:40 AM)newn Wrote:  How can i make my server stop and not restart on linux terminal (no desktop gui).
Hit Ctrl+C

Quote:How can i run the server and another program, for example stats console.
If I understand you correctly (much guessing involved) you run your server on a home box or so and you directly started the server at the linux console. You can either use Ctrl+Alt+F1..6 to switch between virtrual terminals, or (better and working also in other scenarios) use the screen command to open a virtual terminal that can be disconnected (by hitting Ctrl+A D) and reconnected (by screen -R). For details read the man page of screen ("man screen").

Quote:How can i make some script to run my server by writing something like exec server.so or something like that?
You mean a script that starts your server? Just create a text file with your favourite editor, put "#!/bin/sh" in the first line and all linux commands you want to be executed below (like you would type them at the shell). Then make that file executable (chmod +x <filename>) and run it (./<filename>).
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#3
Thanks for your answer. I'm having my server at a dedicated computer. I will try that screen thing, or i have one more idea about that, read somewhere else. But i have other problems now. It cannot connect to the database. I will create a specific thread about it. Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)