Dear Valve

I've written my own Linux server manager tool which acts as a replacement for the srcds_run script, and a number of server admins use it to manage their servers.

Recently I had a user ask me why the "_restart" console command caused the server to quit instead of restart.

The answer is that "_restart" on the console is, as far as I can tell, identical to the "quit" command. In both instances, the srcds_linux server shuts down and quits with exit code 0.

I would like to make a feature request. Please make the "_restart" console command quit with a specific exit code to indicate to the parent process that it should be restarted.

Alternatively, create a new console command which causes the server to quit with a specific exit code.

Just to be clear: This exit code would specifically be reserved as a signal to the parent process that the server process should be restarted. It should not be interpreted as being a crash or an otherwise unexpected event.

One way or another, there needs to be a differentiation between the "quit" and "_restart" commands.


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds

Reply via email to