X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=b1f8108984377dd76e45e62b2dcab985d819efb3;hb=de48d5ab62e452b596d6f2762422d0ab32c4d313;hp=61be6d224f5ad5e7a5ed6cbb8c59aff044eeacb3;hpb=0a498f163ab371ca34b4fe2c1ec8a67e2bb83fe8;p=elogind.git
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 61be6d224..b1f810898 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -900,6 +900,8 @@
ConditionSecurity=
ConditionCapability=
ConditionACPower=
+ ConditionNeedsUpdate=
+ ConditionFirstBoot=
ConditionPathExists=
ConditionPathExistsGlob=
ConditionPathIsDirectory=
@@ -930,7 +932,9 @@
x86,
x86-64,
ppc,
+ ppc-le,
ppc64,
+ ppc64-le,
ia64,
parisc,
parisc64,
@@ -939,7 +943,9 @@
sparc,
sparc64,
mips,
+ mips-le,
mips64,
+ mips64-le,
alpha,
arm,
arm-be,
@@ -947,7 +953,9 @@
arm64-be,
sh,
sh64,
- m86k to test
+ m86k,
+ tilegx,
+ cris to test
against a specific architecture. The
architecture is determined from the
information returned by
@@ -983,7 +991,6 @@
oracle,
xen,
bochs,
- chroot,
uml,
openvz,
lxc,
@@ -1068,6 +1075,45 @@
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.
+
+ ConditionFirstBoot=
+ takes a boolean argument. This
+ condition may be used to
+ conditionalize units on whether the
+ system is booting up with an
+ unpopulated /etc
+ directory. This may be used to
+ populate /etc on
+ the first boot after factory reset, or
+ when a new system instances boots up
+ for the first time.
+
With
ConditionPathExists=
a file existence condition is
@@ -1290,7 +1336,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