diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-04-29 14:26:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-04-30 10:52:07 +0200 |
commit | 7c8fa05c4d5d01748ff2a04edb882afb3119b7d7 (patch) | |
tree | a3dc4d052ac25915fa0b23bf695891d5989aff7e /man/systemd.unit.xml | |
parent | a8ad0f89286b878cbe1f330f72abd2d22813f8ea (diff) |
unit: add new dependency type RequiresMountsFor=
RequiresMountsFor= is a shortcut for adding requires and after
dependencies to all mount units neeed for the specified paths.
This solves a couple of issues regarding dep loop cycles for encrypted
swap.
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r-- | man/systemd.unit.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 12416fa317..c81c7a30b0 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -526,6 +526,18 @@ </varlistentry> <varlistentry> + <term><varname>RequiresMountsFor=</varname></term> + + <listitem><para>Takes a space + separated list of paths. Automatically + adds dependencies of type + <varname>Requires=</varname> and + <varname>After=</varname> for all + mount units required to access the + specified path.</para></listitem> + </varlistentry> + + <varlistentry> <term><varname>OnFailureIsolate=</varname></term> <listitem><para>Takes a boolean |