From 7c8fa05c4d5d01748ff2a04edb882afb3119b7d7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 29 Apr 2012 14:26:07 +0200 Subject: 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. --- man/systemd.unit.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'man') 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 @@ -525,6 +525,18 @@ settings. + + RequiresMountsFor= + + Takes a space + separated list of paths. Automatically + adds dependencies of type + Requires= and + After= for all + mount units required to access the + specified path. + + OnFailureIsolate= -- cgit v1.2.3-54-g00ecf