diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-07-13 10:38:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-07-15 10:53:45 +0200 |
commit | 4f80cfca5ebf9743c13b648017b773090f57b86b (patch) | |
tree | 39191ff5dbbc0db324e7ed9d085f06b99f24c162 /man/systemd.unit.xml | |
parent | 5eab88a569c1bb5f79093f38e872e588d64a2b26 (diff) | |
download | systemd-4f80cfca5ebf9743c13b648017b773090f57b86b.tar.gz |
pid1: add mechanism for conditionalizing units/network/netdev/link based on credentials passed in
This is useful when provisioning systems via nspawn/qemu and running
specific services only if specific data is passed into the system.
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r-- | man/systemd.unit.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 55f32f3272..ea95ba8869 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -1331,6 +1331,19 @@ </varlistentry> <varlistentry> + <term><varname>ConditionCredential=</varname></term> + + <listitem><para><varname>ConditionCredential=</varname> may be used to check whether a credential + by the specified name was passed into the service manager. See <ulink + url="https://systemd.io/CREDENTIALS">System and Service Credentials</ulink> for details about + credentials. If used in services for the system service manager this may be used to conditionalize + services based on system credentials passed in. If used in services for the per-user service + manager this may be used to conditionalize services based on credentials passed into the + <filename>unit@.service</filename> service instance belonging to the user. The argument must be a + valid credential name.</para></listitem> + </varlistentry> + + <varlistentry> <term><varname>ConditionEnvironment=</varname></term> <listitem><para><varname>ConditionEnvironment=</varname> may be used to check whether a specific |