summaryrefslogtreecommitdiff
path: root/man/systemd.special.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-18 00:07:56 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-18 00:09:46 +0200
commit9542239eaf481decca6c254dffb3f2b4e716545e (patch)
tree128c94bbcd14fb38c99ea4fa30afea72a690f68a /man/systemd.special.xml
parent6f04529399a7a59cfe549913349176409a4dc2e3 (diff)
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
Diffstat (limited to 'man/systemd.special.xml')
-rw-r--r--man/systemd.special.xml22
1 files changed, 22 insertions, 0 deletions
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 @@
<filename>bluetooth.target</filename>,
<filename>ctrl-alt-del.target</filename>,
<filename>cryptsetup.target</filename>,
+ <filename>cryptsetup-pre.target</filename>,
<filename>dbus.service</filename>,
<filename>dbus.socket</filename>,
<filename>default.target</filename>,
@@ -841,6 +842,27 @@
<variablelist>
<varlistentry>
+ <term><filename>cryptsetup-pre.target</filename></term>
+ <listitem>
+ <para>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.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><filename>local-fs-pre.target</filename></term>
<listitem>
<para>This target unit is