SRCDS Steam group


Restarting server?
#1
Question 
First of all, sorry for the n00b question, but i am new, to running linux server Smile

I have everything configured well, the server is running fine, but for some extra config i need to restart the server, so that the server.cfg and other config files are read again, to apply the modifications.

What command, and from where do i need to type in? As admin in the console in game, or over SSH at the linux server?

Of course, i can shut down the process by killing the process, but in this case all players are dropped from the server...
Reply
#2
First thing try installing mani mod for a quick load of server.cfg, to do this requires a restart so heres two ways to do so.

Quick way in game goto console login as rcon. Then type exit the server will shutdown and restart after 10 seconds if its configured right.

Second way using putty login as root and go to Screen -D -RR screen-name-here. Once in here you are in the games console at the server end type exit and you will watch the server restart.

Reply
#3
Thx! Smile You was really helpful.

One more question: What other commands can be executed from the SSH session, in the games console? Is there a list of commands somewhere?

PS: mani admin plugin is installed of course Smile

elmarcha Wrote:First thing try installing mani mod for a quick load of server.cfg, to do this requires a restart so heres two ways to do so.

Quick way in game goto console login as rcon. Then type exit the server will shutdown and restart after 10 seconds if its configured right.

Second way using putty login as root and go to Screen -D -RR screen-name-here. Once in here you are in the games console at the server end type exit and you will watch the server restart.

Reply
#4
If you are using the program screen, as described above you can go into your game console and run any CSS console command. As for SSH there are many commands that can be run from here depends what you want to do. All SSh is, is a remote command driven os similar to DOS. You can create, move, copy execute, kill etc etc from here. Unfortunatly I know only what I need to know about command driven linux so you are better off asking a linux expert.
Reply
#5
I too dont want know more Wink

My server is now running fine.

elmarcha Wrote:If you are using the program screen, as described above you can go into your game console and run any CSS console command. As for SSH there are many commands that can be run from here depends what you want to do. All SSh is, is a remote command driven os similar to DOS. You can create, move, copy execute, kill etc etc from here. Unfortunatly I know only what I need to know about command driven linux so you are better off asking a linux expert.
Reply
#6
ummmm, server.cfg reloads at map change, so if you just want the server.cfg to reload, just do a changelevel <map name>. The same would apply for changes to mani-server.cfg
United Strike Marine Corps
USMC-CO| θ (theta)
Reply
#7
Hi all..

I've updated my server, and when I run it, it says that I need to restart my server in order to receive my latest updates.

How do I restart it? Its there a way to restart my server?

Thnaks in advance
Reply
#8
Type quit from the command line. It will automatically restart itself (annoying that it does) in 10 seconds.

Tracer
CS:Source 66.194.153.223:27015
Natural Selection 66.194.153.223:27016
Reply
#9
So here is a nother noob question:

How do I stop the server without it restarting?
Reply
#10
If you are using a screen, close the screen (Ctrl + C). If you are not, the only way I know is to kill the process id.

Tracer
CS:Source 66.194.153.223:27015
Natural Selection 66.194.153.223:27016
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)