chiark / gitweb /
unit: replace StopRetroactively= by BindTo= dependencies
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Oct 2010 21:18:47 +0000 (23:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 Oct 2010 22:45:46 +0000 (00:45 +0200)
commitb81884e7466b8e8bc1261b1b1a722d11694b8c54
treea974af7656baa8eadb0bb0fec0bfe44e4885bb8c
parent941a4041bdb9d91e9d5033005263efe029621e4f
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.
TODO
man/systemd.unit.xml
src/dbus-unit.h
src/load-fragment.c
src/manager.c
src/mount.c
src/unit.c
src/unit.h
units/fsck@.service.in
units/getty@.service.m4
units/serial-getty@.service.m4