From 1b056e9b63cc789a0b7757f395a44d94ef7a82e9 Mon Sep 17 00:00:00 2001 From: freghar Date: Wed, 12 Nov 2008 21:09:56 +0100 Subject: [PATCH] [6830] Implement custom exit codes on server shutdown/restart Added the possibility to use custom process return values instead of hardcoded 0 (shutdown) or 2 (restart) to allow using them for various custom external features / better handling. This can be used through 4 commands in ".server" family: - shutdown - restart - idleshutdown - idlerestart Those have from now on 2 arguments, where the second (return value) is optional: .server