90-systemd.preset 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # SPDX-License-Identifier: LGPL-2.1+
  2. #
  3. # This file is part of systemd.
  4. #
  5. # systemd is free software; you can redistribute it and/or modify it
  6. # under the terms of the GNU Lesser General Public License as published by
  7. # the Free Software Foundation; either version 2.1 of the License, or
  8. # (at your option) any later version.
  9. # Settings for systemd units distributed with systemd itself. Most of these
  10. # should be enabled by default, even if the distribution follows a general
  11. # default-off policy.
  12. enable remote-fs.target
  13. enable remote-cryptsetup.target
  14. enable machines.target
  15. enable getty@.service
  16. enable systemd-timesyncd.service
  17. enable systemd-networkd.service
  18. enable systemd-resolved.service
  19. disable console-getty.service
  20. disable debug-shell.service
  21. disable halt.target
  22. disable kexec.target
  23. disable poweroff.target
  24. enable reboot.target
  25. disable rescue.target
  26. disable exit.target
  27. disable syslog.socket
  28. disable systemd-journal-gatewayd.*
  29. disable systemd-journal-remote.*
  30. disable systemd-journal-upload.*
  31. enable systemd-pstore.service
  32. # Passive targets: always off by default, since they should only be pulled in
  33. # by dependent units.
  34. disable cryptsetup-pre.target
  35. disable getty-pre.target
  36. disable local-fs-pre.target
  37. disable network.target
  38. disable network-pre.target
  39. disable nss-lookup.target
  40. disable nss-user-lookup.target
  41. disable remote-fs-pre.target
  42. disable rpcbind.target
  43. disable time-set.target
  44. disable time-sync.target