summaryrefslogtreecommitdiff
path: root/units/serial-getty@.service.m4
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-28 23:18:47 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-29 00:45:46 +0200
commitb81884e7466b8e8bc1261b1b1a722d11694b8c54 (patch)
treea974af7656baa8eadb0bb0fec0bfe44e4885bb8c /units/serial-getty@.service.m4
parent941a4041bdb9d91e9d5033005263efe029621e4f (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/serial-getty@.service.m4')
-rw-r--r--units/serial-getty@.service.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4
index 9a70db0f21..da9bd1946b 100644
--- a/units/serial-getty@.service.m4
+++ b/units/serial-getty@.service.m4
@@ -7,7 +7,7 @@
[Unit]
Description=Serial Getty on %I
-Requires=dev-%i.device
+BindTo=dev-%i.device
After=dev-%i.device
m4_ifdef(`TARGET_FEDORA',
After=rc-local.service