summaryrefslogtreecommitdiff
path: root/units
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 /units
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 'units')
-rw-r--r--units/cryptsetup-pre.target11
1 files changed, 11 insertions, 0 deletions
diff --git a/units/cryptsetup-pre.target b/units/cryptsetup-pre.target
new file mode 100644
index 000000000..65353419f
--- /dev/null
+++ b/units/cryptsetup-pre.target
@@ -0,0 +1,11 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Encrypted Volumes (Pre)
+Documentation=man:systemd.special(7)
+RefuseManualStart=yes