X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.unit.xml;h=49103dad56d8610e1d3f20feb0f50a51c9d14a9c;hb=a7be37a5014f5d7f8aa372915943611fe1112834;hp=26c16deb9859837b4c954d4356ddbb497cee2eea;hpb=ab06eef8101866dd1337c4759002f7360a9db416;p=elogind.git diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 26c16deb9..49103dad5 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -197,7 +197,7 @@ Some unit names reflect paths existing in the file system name space. Example: a device unit dev-sda.device refers to a device - with the device node /dev/sda in + with the device node /dev/sda in the file system namespace. If this applies a special way to escape the path name is used, so that the result is usable as part of a file name. Basically, @@ -245,7 +245,7 @@ - Unit load path + Unit Load Path Unit files are loaded from a set of paths determined during compilation, described in the two @@ -254,7 +254,7 @@ lower in the hierarchy, thus allowing overrides. - When systemd is running in session mode + When systemd is running in user mode () and the variable $SYSTEMD_UNIT_PATH is set, this contents of this variable overrides the unit load @@ -278,14 +278,11 @@ /run/systemd/generator.early - Generated units - - - &SYSTEM_CONFIG_UNIT_PATH; - Local configuration + Generated units (early) /etc/systemd/system + Local configuration /run/systemd/systemd @@ -293,26 +290,19 @@ /run/systemd/generator - Generated units + Generated units (middle) /usr/local/lib/systemd/system Units for local packages - - &systemunitdir; - Systemd package configuration - /usr/lib/systemd/system - Units for installed packages - - - /lib/systemd/system + Units for installed packages /run/systemd/generator.late - Generated units + Generated units (late) @@ -335,14 +325,11 @@ /tmp/systemd-generator.early.XXXXXX - Generated units - - - &USER_CONFIG_UNIT_PATH; - Local configuration + Generated units (early) /etc/systemd/user + Local configuration /run/systemd/user @@ -350,40 +337,24 @@ /tmp/systemd-generator.XXXXXX - Generated units + Generated units (middle) /usr/local/lib/systemd/user - Units for local packages - - - /usr/local/share/systemd/user - - - &userunitdir; - Systemd package configuration + Units for local packages /usr/lib/systemd/user - Units for installed packages - - - /usr/share/systemd/user + Units for installed packages /tmp/systemd-generator.late.XXXXXX - Generated units + Generated units (late) - Note: the paths listed above are set at - compilation time and differ between distributions. The - "authoritative" list is printed by - systemd at during start and daemon - reconfiguration. - Additional units might be loaded into systemd ("linked") from directories not on the unit load path. See the link command for @@ -1013,7 +984,8 @@ may be used to check whether the given security module is enabled on the system. Currently the only recognized - value is selinux. + values are selinux + and apparmor. The test may be negated by prepending an exclamation mark. @@ -1160,13 +1132,14 @@ Also= Additional units to - install when this unit is - installed. If the user requests - installation of a unit with this - option configured, + install/deinstall when this unit is + installed/deinstalled. If the user + requests installation/deinstallation + of a unit with this option configured, systemctl enable - will automatically install units - listed in this option as + and systemctl + disable will automatically + install/uninstall units listed in this option as well. @@ -1233,7 +1206,7 @@ %f Unescaped file name - This is either the unescaped instance name (if applicable) with / prepended (if applicable), or the prefix name similarly prepended with /. + This is either the unescaped instance name (if applicable) with / prepended (if applicable), or the prefix name similarly prepended with /. %c @@ -1242,13 +1215,13 @@ %r - Root control group path of systemd - + Root control group path where units are placed. + For system instances this usually resolves to /system, except in containers, where the path might be prefixed with the container's root control group. %R - Parent directory of the root control group path of systemd - + Parent directory of the control group path where units are placed. + For system instances this usually resolves to /, except in containers, where this resolves to the container's root directory. This specifier is particularly useful in the ControlGroup= setting (see systemd.exec5). %t @@ -1273,14 +1246,7 @@ %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. If the user is - root (UID equal to 0), the - shell configured in account database is - ignored and /bin/sh is - always used. - + This is the shell of the configured user of the unit, or (if none is set) the user running the systemd instance. If the user is root (UID equal to 0), the shell configured in account database is ignored and /bin/sh is always used. %m