I believe there is a difference. If you use "quit" with players on the
server it will drop everyone from the server with a message saying the
server is shutting down. If you use "_restart" with players on the server
it will run a connection failure on clients and only time them out after 12
seconds I believe.

I know this difference because I run a script that basically issues the
"retry" on clients on the server then instantly issues the "_restart"
command. This will cause the server to restart while clients are still
trying to connect. If the server loads up fast enough it will then allow
clients to continue connecting to the server without being dropped. You
can't do this method with the "quit" command.

On Mon, Jun 29, 2015 at 8:00 PM, Jesse Molina <[email protected]> wrote:

>
> 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
>
_______________________________________________
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