From: Jouke Witteveen Date: Wed, 23 Nov 2016 21:51:33 +0000 (+0100) Subject: man: document protocol error type for service failures (#4724) X-Git-Tag: v233~393 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0c7d5f7be126961e03929b5db40ce960f3ebaaa;p=thirdparty%2Fsystemd.git man: document protocol error type for service failures (#4724) --- diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 03e55a7aff6..abc275aad0a 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -1771,14 +1771,15 @@ Only defined for the service unit type, this environment variable is passed to all ExecStop= and ExecStopPost= processes, and encodes the service - "result". Currently, the following values are defined: timeout (in case of an operation - timeout), exit-code (if a service process exited with a non-zero exit code; see - $EXIT_CODE below for the actual exit code returned), signal (if a - service process was terminated abnormally by a signal; see $EXIT_CODE below for the actual - signal used for the termination), core-dump (if a service process terminated abnormally and - dumped core), watchdog (if the watchdog keep-alive ping was enabled for the service but it - missed the deadline), or resources (a catch-all condition in case a system operation - failed). + "result". Currently, the following values are defined: protocol (in case of a protocol + violation; if a service did not take the steps required by its configuration), timeout (in + case of an operation timeout), exit-code (if a service process exited with a non-zero exit + code; see $EXIT_CODE below for the actual exit code returned), signal + (if a service process was terminated abnormally by a signal; see $EXIT_CODE below for the + actual signal used for the termination), core-dump (if a service process terminated + abnormally and dumped core), watchdog (if the watchdog keep-alive ping was enabled for the + service but it missed the deadline), or resources (a catch-all condition in case a system + operation failed). This environment variable is useful to monitor failure or successful termination of a service. Even though this variable is available in both ExecStop= and ExecStopPost=, it