summaryrefslogtreecommitdiffstats
path: root/presets/90-systemd.preset
diff options
context:
space:
mode:
Diffstat (limited to 'presets/90-systemd.preset')
-rw-r--r--presets/90-systemd.preset20
1 files changed, 18 insertions, 2 deletions
diff --git a/presets/90-systemd.preset b/presets/90-systemd.preset
index 11960e5423..4009cbb96e 100644
--- a/presets/90-systemd.preset
+++ b/presets/90-systemd.preset
@@ -7,8 +7,9 @@
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
-# These ones should be enabled by default, even if distributions
-# generally follow a default-off policy.
+# Settings for systemd units distributed with systemd itself. Most of these
+# should be enabled by default, even if the distribution follows a general
+# default-off policy.
enable remote-fs.target
enable remote-cryptsetup.target
@@ -34,3 +35,18 @@ disable syslog.socket
disable systemd-journal-gatewayd.*
disable systemd-journal-remote.*
disable systemd-journal-upload.*
+
+# Passive targets: always off by default, since they should only be pulled in
+# by dependent units.
+
+disable cryptsetup-pre.target
+disable getty-pre.target
+disable local-fs-pre.target
+disable network.target
+disable network-pre.target
+disable nss-lookup.target
+disable nss-user-lookup.target
+disable remote-fs-pre.target
+disable rpcbind.target
+disable time-set.target
+disable time-sync.target