diff options
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | system-preset/90-systemd.preset | 31 | ||||
l--------- | system-preset/Makefile | 1 |
3 files changed, 35 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index a9e07b455f..66eda99490 100644 --- a/Makefile.am +++ b/Makefile.am @@ -509,6 +509,9 @@ dist_userunit_DATA = \ nodist_userunit_DATA = \ units/user/systemd-exit.service +dist_systempreset_DATA = \ + system-preset/90-systemd.preset + EXTRA_DIST += \ units/getty@.service.m4 \ units/serial-getty@.service.m4 \ diff --git a/system-preset/90-systemd.preset b/system-preset/90-systemd.preset new file mode 100644 index 0000000000..e4a9e17cb7 --- /dev/null +++ b/system-preset/90-systemd.preset @@ -0,0 +1,31 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# 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. + +enable remote-fs.target +enable getty@.service +enable systemd-readahead-* +enable systemd-timesyncd.service +enable systemd-networkd.service +enable systemd-resolved.service + +disable console-getty.service +disable console-shell.service +disable debug-shell.service + +disable halt.target +disable kexec.target +disable poweroff.target +disable reboot.target +disable rescue.target + +disable syslog.socket + +disable systemd-journal-gatewayd.* +disable systemd-networkd-wait-online.service diff --git a/system-preset/Makefile b/system-preset/Makefile new file mode 120000 index 0000000000..bd1047548b --- /dev/null +++ b/system-preset/Makefile @@ -0,0 +1 @@ +../src/Makefile
\ No newline at end of file |