]> err.no Git - systemd/commit
unit: add new dependency type RequiresMountsFor=
authorLennart Poettering <lennart@poettering.net>
Sun, 29 Apr 2012 12:26:07 +0000 (14:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 30 Apr 2012 08:52:07 +0000 (10:52 +0200)
commit7c8fa05c4d5d01748ff2a04edb882afb3119b7d7
treea3dc4d052ac25915fa0b23bf695891d5989aff7e
parenta8ad0f89286b878cbe1f330f72abd2d22813f8ea
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.
13 files changed:
Makefile.am
man/systemd.unit.xml
src/core/dbus-unit.c
src/core/dbus-unit.h
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/core/load-fragment.h
src/core/manager.h
src/core/mount.c
src/core/unit.c
src/core/unit.h
units/systemd-random-seed-load.service.in
units/systemd-random-seed-save.service.in