diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-28 23:18:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-29 00:45:46 +0200 |
commit | b81884e7466b8e8bc1261b1b1a722d11694b8c54 (patch) | |
tree | a974af7656baa8eadb0bb0fec0bfe44e4885bb8c /units/fsck@.service.in | |
parent | 941a4041bdb9d91e9d5033005263efe029621e4f (diff) |
unit: replace StopRetroactively= by BindTo= dependencies
The property StopRetroactively= needs to be per-dependency, not
per-unit, in order to properly express dependencies between .mount units
and its .device and fsck .service units. If the .device unit is
unplugged the mount should go away, but if the fsck process terminates
the .mount should stay.
Diffstat (limited to 'units/fsck@.service.in')
-rw-r--r-- | units/fsck@.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/fsck@.service.in b/units/fsck@.service.in index 54caa3c965..38815414fa 100644 --- a/units/fsck@.service.in +++ b/units/fsck@.service.in @@ -8,7 +8,7 @@ [Unit] Description=File System Check on %f DefaultDependencies=no -Requires=%i.device +BindTo=%i.device After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device Before=local-fs.target shutdown.target |