X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=da2dba52b3510d4d2d257d6959e06aa0003f5f03;hp=3fd76f3020b0e0a85a12df0ab89ed41df6d9d5ed;hb=abdf7993161a2762df6887fdb5a5f0f4f5da24cf;hpb=7f2cddae09fd2579ae24434df577bb5e5a157d86 diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 3fd76f302..da2dba52b 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -44,7 +44,7 @@ systemd.unit - systemd unit configuration files + Unit configuration @@ -258,6 +258,21 @@ Runtime socket dir This is either /run (for the system manager) or $XDG_RUNTIME_DIR (for user managers). + + %u + User name + This is the name of the configured user of the unit, or (if none is set) the user running the systemd instance. + + + %h + User home directory + This is the home directory of the configured user of the unit, or (if none is set) the user running the systemd instance. + + + %s + User shell + This is the shell of the configured user of the unit, or (if none is set) the user running the systemd instance. + @@ -348,7 +363,15 @@ Requires= in order to achieve a system that is more robust when dealing with failing - services. + services. + + Note that dependencies of this + type may also be configured outside of + the unit configuration file by + adding a symlink to a + .requires/ directory + accompanying the unit file. For + details see above. @@ -400,7 +423,9 @@ the transaction as a whole. This is the recommended way to hook start-up of one unit to the start-up of another - unit. Note that dependencies of this + unit. + + Note that dependencies of this type may also be configured outside of the unit configuration file by adding a symlink to a @@ -426,6 +451,21 @@ systemd. + + PartOf= + + Configures dependencies + similar to Requires=, + but limited to stopping and restarting + of units. When systemd stops or restarts + the units listed here, the action is + propagated to this unit. + Note that this is a one way dependency - + changes to this unit do not affect the + listed units. + + + Conflicts=