diff options
Diffstat (limited to 'presets')
-rw-r--r-- | presets/90-systemd.preset | 20 | ||||
-rw-r--r-- | presets/user/90-systemd.preset | 11 |
2 files changed, 27 insertions, 4 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 diff --git a/presets/user/90-systemd.preset b/presets/user/90-systemd.preset index 22fe41fc33..fd402c8c11 100644 --- a/presets/user/90-systemd.preset +++ b/presets/user/90-systemd.preset @@ -7,8 +7,15 @@ # 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. These should be +# enabled by default, even if the distribution follows a general default-off +# policy. enable systemd-tmpfiles-setup.service enable systemd-tmpfiles-clean.timer + +# Passive targets: always off by default, since they should only be pulled in +# by dependent units. + +disable graphical-session-pre.target +disable graphical-session.target |