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/getty@.service.m4 | |
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/getty@.service.m4')
-rw-r--r-- | units/getty@.service.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index 98c6a88213..1edcad9f0e 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -14,7 +14,7 @@ m4_ifdef(`TARGET_ARCH', `m4_define(`GETTY', `/sbin/agetty -8 38400')')m4_dnl m4_dnl [Unit] Description=Getty on %I -Requires=dev-%i.device +BindTo=dev-%i.device After=dev-%i.device m4_ifdef(`TARGET_FEDORA', After=rc-local.service |