X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=1afa600a08fac4434a77a50cff86a582b821e7f1;hb=13790add4bf648fed816361794d8277a75253410;hp=5d6f6eb1416ecbf2b8c619d29ff9975090e6691e;hpb=59fccdc587bc179c1638916ee16a24099f94f81f;p=elogind.git
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 5d6f6eb14..1afa600a0 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -211,6 +211,10 @@
template .d/ subdirectory and reads
its .conf files.
+
+
Note that while systemd offers a flexible
dependency system between units it is recommended to
use this functionality only sparingly and instead rely
@@ -950,7 +954,11 @@
ConditionDirectoryNotEmpty=ConditionFileNotEmpty=ConditionFileIsExecutable=
- ConditionNull=
+
+
Before starting a unit
verify that the specified condition is
@@ -1230,15 +1238,6 @@
exists, is a regular file and marked
executable.
- Finally,
- ConditionNull= may
- be used to add a constant condition
- check value to the unit. It takes a
- boolean argument. If set to
- false, the condition
- will always fail, otherwise
- succeed.
-
If multiple conditions are
specified, the unit will be executed if
all of them apply (i.e. a logical AND
@@ -1283,7 +1282,6 @@
AssertDirectoryNotEmpty=AssertFileNotEmpty=AssertFileIsExecutable=
- AssertNull=Similar to the
ConditionArchitecture=,
@@ -1558,6 +1556,16 @@
+
+ Please note that specifiers
+ %U, %h,
+ %s are mostly useless when systemd
+ is running in system mode. PID 1 cannot query the
+ user account database for information, so the
+ specifiers only work as shortcuts for things which are
+ already specified in a different way in the unit
+ file. They are fully functional when systemd is
+ running in mode.