[4.0] e0d4d83 some words about exit codes
lkarsten at varnish-software.com
Mon Sep 22 16:38:24 CEST 2014
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Tue Aug 26 16:47:07 2014 +0200
some words about exit codes
diff --git a/doc/sphinx/reference/varnishd.rst b/doc/sphinx/reference/varnishd.rst
index dbe5db8..75b50ac 100644
@@ -249,6 +249,23 @@ here, in order to conserve VM space.
.. include:: ../include/params.rst
+Varnish and bundled tools will, in most cases, exit with one of the
+* `0` OK
+* `1` Configuration / parameter error
+* `2` Some other error which could be system-dependend and/or transient
+In addition to these, when coredumps are disabled, `varnishd` will
+exit with status code `4` in a panic situation.
+The `varnishd` master process may also OR its exit code with `0x40`
+when the `varnishd` child process was terminated by a signal and with
+`0x80` when a core was dumped.
More information about the varnish-commit