X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=960fb90dbd1d8080bbb97958327b0574b5270300;hb=108e8cd11e88bd4795a62bf335921d438592601c;hp=61be6d224f5ad5e7a5ed6cbb8c59aff044eeacb3;hpb=0a498f163ab371ca34b4fe2c1ec8a67e2bb83fe8;p=elogind.git
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 61be6d224..960fb90db 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -900,6 +900,7 @@
ConditionSecurity=
ConditionCapability=
ConditionACPower=
+ ConditionNeedsUpdate=
ConditionPathExists=
ConditionPathExistsGlob=
ConditionPathIsDirectory=
@@ -1068,6 +1069,33 @@
all AC connectors are disconnected
from a power source.
+ ConditionNeedsUpdate=
+ takes one of /var
+ or /etc as
+ argument, possibly prefixed with a
+ ! (for inverting
+ the condition). This condition may be
+ used to conditionalize units on
+ whether the specified directory
+ requires an update because
+ /usr's
+ modification time is newer than the
+ stamp file
+ .updated in the
+ specified directory. This is useful to
+ implement offline updates of the
+ vendor operating system resources in
+ /usr that require
+ updating of /etc
+ or /var on the
+ next following boot. Units making use
+ of this condition should order
+ themselves before
+ systemd-update-done.service8,
+ to make sure they run before the stamp
+ files's modification time gets reset
+ indicating a completed update.
+
With
ConditionPathExists=
a file existence condition is
@@ -1290,7 +1318,7 @@
DefaultInstance=
- In template unit files
+ In template unit files,
this specifies for which instance the
unit shall be enabled if the template
is enabled without any explicitly set