diff --git a/system-preset/90-systemd.preset b/system-preset/90-systemd.preset index 3ba4bb760d..98bc4c3c55 100644 --- a/system-preset/90-systemd.preset +++ b/system-preset/90-systemd.preset @@ -9,6 +9,7 @@ # generally follow a default-off policy. enable remote-fs.target +enable remote-cryptsetup.target enable machines.target enable getty@.service diff --git a/units/remote-cryptsetup.target b/units/remote-cryptsetup.target index 60943bd1cb..c306d521f7 100644 --- a/units/remote-cryptsetup.target +++ b/units/remote-cryptsetup.target @@ -8,3 +8,9 @@ [Unit] Description=Remote Encrypted Volumes Documentation=man:systemd.special(7) +After=remote-cryptsetup-pre.target +DefaultDependencies=no +Conflicts=shutdown.target + +[Install] +WantedBy=multi-user.target