summaryrefslogtreecommitdiff
path: root/presets
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-23 13:23:42 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-12-06 10:18:35 +0100
commite783f957181324110d2ee49377c48acc90d735a2 (patch)
treee4aa3502615da4f886bef0c9c212ca5fea9a8a44 /presets
parent32a8f700a4acd601c6bac89e871d2e9e145f4adf (diff)
downloadsystemd-e783f957181324110d2ee49377c48acc90d735a2.tar.gz
Rename "system-preset" source dir to "presets"
I want to add presets/user/ later. This mirrors the layout for units: we have units/ and units/user. The advantage is that we avoid having yet another directory at the top level.
Diffstat (limited to 'presets')
-rw-r--r--presets/90-systemd.preset36
-rw-r--r--presets/meson.build19
2 files changed, 55 insertions, 0 deletions
diff --git a/presets/90-systemd.preset b/presets/90-systemd.preset
new file mode 100644
index 0000000000..11960e5423
--- /dev/null
+++ b/presets/90-systemd.preset
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# 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 remote-cryptsetup.target
+enable machines.target
+
+enable getty@.service
+enable systemd-timesyncd.service
+enable systemd-networkd.service
+enable systemd-resolved.service
+
+disable console-getty.service
+disable debug-shell.service
+
+disable halt.target
+disable kexec.target
+disable poweroff.target
+enable reboot.target
+disable rescue.target
+disable exit.target
+
+disable syslog.socket
+
+disable systemd-journal-gatewayd.*
+disable systemd-journal-remote.*
+disable systemd-journal-upload.*
diff --git a/presets/meson.build b/presets/meson.build
new file mode 100644
index 0000000000..89bed8a05a
--- /dev/null
+++ b/presets/meson.build
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# Copyright 2017 Zbigniew Jędrzejewski-Szmek
+#
+# 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.
+#
+# systemd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+
+install_data('90-systemd.preset',
+ install_dir : systempresetdir)