diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index c848146f3a..5364c4c975 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -1786,6 +1786,16 @@
Unescaped filenameThis is either the unescaped instance name (if applicable) with / prepended (if applicable), or the unescaped prefix name prepended with /. This implements unescaping according to the rules for escaping absolute file system paths discussed above.
+
+ %g
+ User group
+ This is the name of the group running the service manager instance. In case of the system manager this resolves to root.
+
+
+ %G
+ User GID
+ This is the numeric GID of the user running the service manager instance. In case of the system manager this resolves to 0.
+ %hUser home directory
@@ -1800,11 +1810,6 @@ Note that this setting is not influenced by the Us
Host nameThe hostname of the running system at the point in time the unit configuration is loaded.
-
- %l
- Short host name
- The hostname of the running system at the point in time the unit configuration is loaded, truncated at the first dot to remove any domain component.
- %iInstance name
@@ -1825,13 +1830,17 @@ Note that this setting is not influenced by the Us
Unescaped final component of the prefixSame as %j, but with escaping undone.
+
+ %l
+ Short host name
+ The hostname of the running system at the point in time the unit configuration is loaded, truncated at the first dot to remove any domain component.
+ %LLog directory rootThis is either /var/log (for the system manager) or the path $XDG_CONFIG_HOME resolves to with /log appended (for user managers).
- %nFull unit name
@@ -1842,6 +1851,7 @@ Note that this setting is not influenced by the Us
Full unit nameSame as %n, but with the type suffix removed.
+ %pPrefix name
@@ -1868,16 +1878,6 @@ Note that this setting is not influenced by the Us
This is either /run/ (for the system manager) or the path $XDG_RUNTIME_DIR resolves to (for user managers).
-
- %g
- User group
- This is the name of the group running the service manager instance. In case of the system manager this resolves to root.
-
-
- %G
- User GID
- This is the numeric GID of the user running the service manager instance. In case of the system manager this resolves to 0.
- %uUser name
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml
index 5f69054847..49ce8375a4 100644
--- a/man/tmpfiles.d.xml
+++ b/man/tmpfiles.d.xml
@@ -639,6 +639,16 @@ w- /proc/sys/vm/swappiness - - - - 10
System or user cache directoryIn mode, this is the same as $XDG_CACHE_HOME, and /var/cache otherwise.
+
+ %g
+ User group
+ This is the name of the group running the command. In case of the system instance this resolves to root.
+
+
+ %G
+ User GID
+ This is the numeric GID of the group running the command. In case of the system instance this resolves to 0.
+ %hUser home directory
@@ -664,16 +674,6 @@ w- /proc/sys/vm/swappiness - - - - 10
In mode, this is the same $XDG_RUNTIME_DIR, and /run/ otherwise.
-
- %g
- User group
- This is the name of the group running the command. In case of the system instance this resolves to root.
-
-
- %G
- User GID
- This is the numeric GID of the group running the command. In case of the system instance this resolves to 0.
- %uUser name