naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
ecbff1
From d3b747ccbd34fd11298429787e67429af9c06dbb Mon Sep 17 00:00:00 2001
ecbff1
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
ecbff1
Date: Wed, 18 Oct 2017 15:14:46 +0200
ecbff1
Subject: [PATCH] units: make remote-cryptsetup.target also after
ecbff1
 cryptsetup-pre.target
ecbff1
ecbff1
This way people can order units before cryptsetup-pre.target and
ecbff1
have them run before any cryptsetup-related stuff.
ecbff1
ecbff1
Cherry-picked from: a0e030f53bad355be1084a0475eb30aae20e3e43
ecbff1
Resolves: #1477757
ecbff1
---
ecbff1
 units/remote-cryptsetup.target | 2 +-
ecbff1
 1 file changed, 1 insertion(+), 1 deletion(-)
ecbff1
ecbff1
diff --git a/units/remote-cryptsetup.target b/units/remote-cryptsetup.target
ecbff1
index d485b0672..ac4e1b71d 100644
ecbff1
--- a/units/remote-cryptsetup.target
ecbff1
+++ b/units/remote-cryptsetup.target
ecbff1
@@ -8,7 +8,7 @@
ecbff1
 [Unit]
ecbff1
 Description=Remote Encrypted Volumes
ecbff1
 Documentation=man:systemd.special(7)
ecbff1
-After=remote-fs-pre.target
ecbff1
+After=remote-fs-pre.target cryptsetup-pre.target
ecbff1
 DefaultDependencies=no
ecbff1
 Conflicts=shutdown.target
ecbff1