Forum

> > CS2D > Scripts > Gracefully Exit Dedicated Server
Forums overviewCS2D overview Scripts overviewLog in to reply

English Gracefully Exit Dedicated Server

1 reply
To the start Previous 1 Next To the start

old Re: Gracefully Exit Dedicated Server

Hajt
User Off Offline

Quote
The commands cs2d cmd exit and cs2d cmd disconnect are not available for dedicated servers. Use cs2d cmd quit instead or send
SIGTERM
.

Both perform a graceful shutdown. I assume this because I tested it with:

1
2
3
4
5
addhook("shutdown", "test")
function test()
  msg("test triggered")
end
parse("quit")
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview