From 9542239eaf481decca6c254dffb3f2b4e716545e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 18 Jun 2014 00:07:56 +0200 Subject: cryptsetup: introduce new cryptsetup-pre.traget unit so that services can make sure they are started before and stopped after any LUKS setup https://bugzilla.redhat.com/show_bug.cgi?id=1097938 --- man/systemd.special.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'man') diff --git a/man/systemd.special.xml b/man/systemd.special.xml index cda6edd42b..f29cc23c2f 100644 --- a/man/systemd.special.xml +++ b/man/systemd.special.xml @@ -52,6 +52,7 @@ bluetooth.target, ctrl-alt-del.target, cryptsetup.target, + cryptsetup-pre.target, dbus.service, dbus.socket, default.target, @@ -840,6 +841,27 @@ transaction. + + cryptsetup-pre.target + + This passive target unit + may be pulled in by services + that want to run before any + encrypted block device is set + up. All encrypted block + devices are set up after this + target has been reached. Since + the shutdown order is + implicitly the reverse + start-up order between units + this target is particularly + useful to ensure that a + service is shut down only + after all encrypted block + devices are fully + stopped. + + local-fs-pre.target -- cgit v1.2.3-54-g00ecf