diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-20 16:16:45 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-20 16:16:45 +0200 |
commit | 9fc507041eb524799a0410839e961ec188a78491 (patch) | |
tree | 029b0dee9d8d382b5abc5d7a4aa4078b9033a1a6 /man/systemd.unit.xml | |
parent | 980d87505c391682c7d9da2d48a1ba68f35c0339 (diff) |
unit: introduce %f specifier to decode file names
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r-- | man/systemd.unit.xml | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index e54cafaabc..f72b947dca 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -182,13 +182,17 @@ <literal>%i</literal> specifier in many of the configuration options. Other specifiers that may be used are <literal>%n</literal>, <literal>%N</literal>, - <literal>%p</literal>, <literal>%P</literal> and - <literal>%I</literal>, for the full unit name, the - unescaped unit name, the prefix name, the unescaped - prefix name and the unescaped instance name, - respectively. The prefix name here refers to the - string before the @, i.e. "getty" in the example - above, where "tty3" is the instance name.</para> + <literal>%p</literal>, <literal>%P</literal>, + <literal>%I</literal> and <literal>%f</literal>, for + the full unit name, the unescaped unit name, the + prefix name, the unescaped prefix name, the unescaped + instance name and the unescaped filename, + respectively. The unescaped filename is either the + unescaped instance name (if set) with / prepended (if + necessary), or the prefix name similarly prepended + with /. The prefix name here refers to the string + before the @, i.e. "getty" in the example above, where + "tty3" is the instance name.</para> <para>If a unit file is empty (i.e. has the file size 0) or is symlinked to <filename>/dev/null</filename> |