Merge pull request #13103 from anitazha/conditiondocs

NEWS and catalog update for ExecCondition=
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-07-18 08:06:37 +02:00
committed by GitHub
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -297,6 +297,12 @@ CHANGES WITH 243 in spe:
takes a tty name to spawn the debug shell on, which allows selecting
a different tty than the built-in default.
* Service units gained a new ExecCondition= setting which will run
before ExecStartPre= and either continue execution of the unit (for
clean exit codes), stop execution without marking the unit failed
(for exit codes 1 through 254), or stop execution and fail the unit
(for exit code 255 or cases of abnormal termination).
…
CHANGES WITH 242:
+2 -1
View File
@@ -364,7 +364,8 @@ Subject: Unit skipped
Defined-By: systemd
Support: %SUPPORT_URL%
The unit @UNIT@ was skipped and has entered the 'dead' state with result '@UNIT_RESULT@'.
The unit @UNIT@ was skipped due to an ExecCondition= command failure, and has
entered the 'dead' state with result '@UNIT_RESULT@'.
-- d9b373ed55a64feb8242e02dbe79a49c
Subject: Unit failed