summaryrefslogtreecommitdiff
path: root/units/systemd-random-seed-load.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-29 14:26:07 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-30 10:52:07 +0200
commit7c8fa05c4d5d01748ff2a04edb882afb3119b7d7 (patch)
treea3dc4d052ac25915fa0b23bf695891d5989aff7e /units/systemd-random-seed-load.service.in
parenta8ad0f89286b878cbe1f330f72abd2d22813f8ea (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 'units/systemd-random-seed-load.service.in')
-rw-r--r--units/systemd-random-seed-load.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/systemd-random-seed-load.service.in b/units/systemd-random-seed-load.service.in
index 6360436021..82f49c762b 100644
--- a/units/systemd-random-seed-load.service.in
+++ b/units/systemd-random-seed-load.service.in
@@ -8,10 +8,10 @@
[Unit]
Description=Load Random Seed
DefaultDependencies=no
-Wants=local-fs.target
Conflicts=shutdown.target
-After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=sysinit.target shutdown.target
+RequiresMountsFor=@RANDOM_SEED@
[Service]
Type=oneshot