X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.unit.xml.in;h=e99703f7b32edfd80714b1c837331b8a95e1bd43;hb=46e6e4f1e50a56d69f87653f30996766fcb23f8a;hp=7c3a6c75f84cd6305949777a15e3b73bf26a7a6e;hpb=c78ab91132aab9193f3c17a9a206f8825ff4be84;p=elogind.git
diff --git a/man/systemd.unit.xml.in b/man/systemd.unit.xml.in
index 7c3a6c75f..e99703f7b 100644
--- a/man/systemd.unit.xml.in
+++ b/man/systemd.unit.xml.in
@@ -48,16 +48,28 @@
- systemd.service,
- systemd.socket,
- systemd.device,
- systemd.mount,
- systemd.automount,
- systemd.swap,
- systemd.target,
- systemd.path,
- systemd.timer,
- systemd.snapshot
+ service.service,
+ socket.socket,
+ device.device,
+ mount.mount,
+ automount.automount,
+ swap.swap,
+ target.target,
+ path.path,
+ timer.timer,
+ snapshot.snapshot
+
+ /etc/systemd/system/*
+/run/systemd/system/*
+/usr/lib/systemd/system/*
+...
+
+
+ /etc/systemd/user/*
+/run/systemd/user/*
+/usr/lib/systemd/user/*
+...
+
@@ -66,7 +78,7 @@
A unit configuration file encodes information
about a service, a socket, a device, a mount point, an
automount point, a swap file or partition, a start-up
- target, a file system path or a timer controlled and
+ target, a file system path, or a timer controlled and
supervised by
systemd1. The
syntax is inspired by
+ information:
+ systemd.service5,
+ systemd.socket5,
+ systemd.device5,
+ systemd.mount5,
+ systemd.automount5,
+ systemd.swap5,
+ systemd.target5,
+ systemd.path5,
+ systemd.timer5,
+ systemd.snapshot5.
+
+
+ Unit files are loaded from a set of paths
+ determined during compilation, described in the next section.
+ Unit files may contain additional options on top
of those listed here. If systemd encounters an unknown
@@ -214,6 +241,153 @@
+
+ Unit load path
+
+ Unit files are loaded from a set of paths
+ determined during compilation, described in the two
+ tables below. Unit files found in directories higher
+ in the hierarchy override files with the same name
+ lower in the hierarchy, thus allowing overrides.
+
+
+ When systemd is running in session mode
+ () and the variable
+ $SYSTEMD_UNIT_PATH is set, this
+ contents of this variable overrides the unit load
+ path.
+
+
+
+
+ Load path when running in system mode ().
+
+
+
+
+
+
+
+ Path
+ Description
+
+
+
+
+ /run/systemd/generator.early
+ Generated units
+
+
+ @SYSTEM_CONFIG_UNIT_PATH@
+ Local configuration
+
+
+ /etc/systemd/system
+
+
+ /run/systemd/systemd
+ Volatile units
+
+
+ /run/systemd/generator
+ Generated units
+
+
+ /usr/local/lib/systemd/system
+ Units for local packages
+
+
+ @systemunitdir@
+ Systemd package configuration
+
+
+ /usr/lib/systemd/system
+ Units for installed packages
+
+
+ /lib/systemd/system
+
+
+ /run/systemd/generator.late
+ Generated units
+
+
+
+
+
+
+
+ Load path when running in session mode ().
+
+
+
+
+
+
+
+ Path
+ Description
+
+
+
+
+ /tmp/systemd-generator.early.XXXXXX
+ Generated units
+
+
+ @USER_CONFIG_UNIT_PATH@
+ Local configuration
+
+
+ /etc/systemd/user
+
+
+ /run/systemd/user
+ Volatile units
+
+
+ /tmp/systemd-generator.XXXXXX
+ Generated units
+
+
+ /usr/local/lib/systemd/user
+ Units for local packages
+
+
+ /usr/local/share/systemd/user
+
+
+ @userunitdir@
+ Systemd package configuration
+
+
+ /usr/lib/systemd/user
+ Units for installed packages
+
+
+ /usr/share/systemd/user
+
+
+ /tmp/systemd-generator.late.XXXXXX
+ Generated units
+
+
+
+
+
+ Note: the paths listed above are set at
+ compilation time and differ between distributions. The
+ "authorative" 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
+ systemctl1.
+
+
+
Options
@@ -1113,6 +1287,11 @@
Host nameThe host name of the running system.
+
+ %%
+ Escaped %
+ Single percent sign.
+