1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-01 05:47:04 +03:00

units: add [Install] section to remote-cryptsetup.target

This makes this target the same as remote-fs.target in this regard. In practice
it probably doesn't make that much difference, because all encrypted devices
that are part of remote-fs.target (marked with _netdev) will be used for mount
points, so they will be pulled in anyway individually, but with this change any
such device will be configured, even if it is not pulled by any other unit.

(cherry picked from commit 8f462b074eb9830d6d5029f70c9010ce50e68357)
(cherry picked from commit eaaa52cc40bc7f94762ca622d4bd3e9440ccee90)
(cherry picked from commit e937bdf0271e664ede61fafd74f8487334745d01)
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-10-12 22:13:03 +02:00
parent ee2deebc85
commit a27db12a63
2 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,7 @@
# generally follow a default-off policy.
enable remote-fs.target
enable remote-cryptsetup.target
enable machines.target
enable getty@.service

View File

@ -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