diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2022-01-21 11:22:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-21 11:22:22 +0000 |
commit | 071be9701ac4a92f6c1e0c6d34db9250abf11239 (patch) | |
tree | 4c36ed17b038c4171274301474cd31528a398c4e /man | |
parent | 0d63af09773512f7853d9e9ff186cd2cfc0cea04 (diff) | |
parent | 607f032858dd1c123481e37d00391029c5b54001 (diff) | |
download | systemd-071be9701ac4a92f6c1e0c6d34db9250abf11239.tar.gz |
Merge pull request #22195 from keszybz/more-specifiers
Add unit specifiers for fragment path and directory
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.unit.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 2a44b8cfd8..72a6ba0a7d 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -2098,6 +2098,16 @@ Note that this setting is <emphasis>not</emphasis> influenced by the <varname>Us <xi:include href="standard-specifiers.xml" xpointer="V"/> <xi:include href="standard-specifiers.xml" xpointer="w"/> <xi:include href="standard-specifiers.xml" xpointer="W"/> + <row> + <entry><literal>%y</literal></entry> + <entry>The path to the fragment</entry> + <entry>This is the path where the main part of the unit file is located. For linked unit files, the real path outside of the unit search directories is used. For units that don't have a fragment file, this specifier will raise an error.</entry> + </row> + <row> + <entry><literal>%Y</literal></entry> + <entry>The directory of the fragment</entry> + <entry>This is the directory part of <literal>%y</literal>.</entry> + </row> <xi:include href="standard-specifiers.xml" xpointer="percent"/> </tbody> </tgroup> |