X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=be0873c344b6353441825eed83275080d0d6d3ba;hp=30b6ea16eaeac6b68432352729f212b099a1cc4f;hb=f1e4d93f573087655ab1d0adb725102d5d2c1960;hpb=5d2abc04fc95f5c5f6d0eaf2f9b06c70d504019f diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 30b6ea16e..be0873c34 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -139,10 +139,12 @@ Unit files may contain additional options on top of those listed here. If systemd encounters an unknown option, it will write a warning log message but - continue loading the unit. If an option is prefixed - with , it is ignored completely by - systemd. Applications may use this to include - additional information in the unit files. + continue loading the unit. If an option or section name + is prefixed with , it is ignored + completely by systemd. Options within an ignored + section do not need the prefix. Applications may use + this to include additional information in the unit + files. Boolean arguments used in unit files can be written in various formats. For positive settings the @@ -898,6 +900,7 @@ ConditionSecurity= ConditionCapability= ConditionACPower= + ConditionNeedsUpdate= ConditionPathExists= ConditionPathExistsGlob= ConditionPathIsDirectory= @@ -928,7 +931,9 @@ x86, x86-64, ppc, + ppc-le, ppc64, + ppc64-le, ia64, parisc, parisc64, @@ -937,7 +942,9 @@ sparc, sparc64, mips, + mips-le, mips64, + mips64-le, alpha, arm, arm-be, @@ -945,7 +952,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 @@ -1019,7 +1028,7 @@ case the kernel command line is searched for the word appearing as is, or as left hand side of an - assignment. In the latter case the + assignment. In the latter case, the exact assignment is looked for with right and left hand side matching. @@ -1066,6 +1075,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 @@ -1179,7 +1215,7 @@ useful for implementation of generator tools that convert configuration from an external configuration file format - into native unit files. Thus + into native unit files. This functionality should not be used in normal units. @@ -1284,6 +1320,19 @@ of unit names may be given. + + + DefaultInstance= + + In template unit files, + this specifies for which instance the + unit shall be enabled if the template + is enabled without any explicitly set + instance. This option has no effect in + non-template unit files. The specified + string must be usable as instance + identifier. + The following specifiers are interpreted in the