diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-11 16:42:24 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-05-11 19:46:15 +0200 |
commit | 82c2214539c9d65c029f4658c9cf2c7be53b9480 (patch) | |
tree | d6a7c968636b2181bcfb96586b0f40b405b6810c /man | |
parent | Merge pull request #32755 from yuwata/test-network-cleanups (diff) | |
download | systemd-82c2214539c9d65c029f4658c9cf2c7be53b9480.tar.xz systemd-82c2214539c9d65c029f4658c9cf2c7be53b9480.zip |
debug-generator: Allow specifying name of unit-dropin credential
A fixed name is too rigid, let's give users the ability to define
custom drop-in names which at the same time also allows defining
multiple dropins per unit.
We use ~ as the separator because:
- ':' is not allowed in credential names
- '=' is used to separate credential from value in mkosi's --credential
argument.
- '-' is commonly used in filenames
- '@' already has meaning as the unit template specifier which might be
confusing when adding dropins for template units
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-debug-generator.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/man/systemd-debug-generator.xml b/man/systemd-debug-generator.xml index 126d1efc00..744fcb9c7a 100644 --- a/man/systemd-debug-generator.xml +++ b/man/systemd-debug-generator.xml @@ -91,8 +91,9 @@ <listitem><para>Credentials prefixed with <literal>systemd.unit-dropin.</literal> add drop-ins for the corresponding units in the final system. Each credential must be suffixed with the full unit name - including the unit extension. Its contents must be a valid unit drop-in file. Only one drop-in per - unit can be specified. The name of the generated drop-in will be + including the unit extension. Its contents must be a valid unit drop-in file. Optionally, the unit + name may be followed with <literal>~</literal>, followed by the drop-in name without the + <literal>.conf</literal> suffix. If not specified, the name of the generated drop-in will be <literal>50-credential.conf</literal>. Note that these additional drop-ins are added to both the initrd and the final system.</para> |