summaryrefslogtreecommitdiff
path: root/system-preset
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 16:11:53 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 16:11:53 -0400
commit844bd03665e3ae47b872f33bd6d4146c1051067b (patch)
tree99e6f4ada14bc68eb07669d9ff5469965221217c /system-preset
parentc61e54391f4ac0ccd97577d9d27482ca48dd0c80 (diff)
split the system-preset file
Diffstat (limited to 'system-preset')
-rw-r--r--system-preset/90-journald.preset10
-rw-r--r--system-preset/90-networkd.preset10
-rw-r--r--system-preset/90-resolved.preset11
-rw-r--r--system-preset/90-systemd.preset8
-rw-r--r--system-preset/90-timesyncd.preset8
5 files changed, 39 insertions, 8 deletions
diff --git a/system-preset/90-journald.preset b/system-preset/90-journald.preset
new file mode 100644
index 0000000000..6a8c17b1fa
--- /dev/null
+++ b/system-preset/90-journald.preset
@@ -0,0 +1,10 @@
+# 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.
+
+disable syslog.socket
+
+disable systemd-journal-gatewayd.*
diff --git a/system-preset/90-networkd.preset b/system-preset/90-networkd.preset
new file mode 100644
index 0000000000..a053f7a4b1
--- /dev/null
+++ b/system-preset/90-networkd.preset
@@ -0,0 +1,10 @@
+# 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.
+
+enable systemd-networkd.service
+
+disable systemd-networkd-wait-online.service
diff --git a/system-preset/90-resolved.preset b/system-preset/90-resolved.preset
new file mode 100644
index 0000000000..c5a5063cc1
--- /dev/null
+++ b/system-preset/90-resolved.preset
@@ -0,0 +1,11 @@
+# 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 systemd-resolved.service
diff --git a/system-preset/90-systemd.preset b/system-preset/90-systemd.preset
index ee1b864bcf..138937011c 100644
--- a/system-preset/90-systemd.preset
+++ b/system-preset/90-systemd.preset
@@ -12,9 +12,6 @@ enable remote-fs.target
enable machines.target
enable getty@.service
-enable systemd-timesyncd.service
-enable systemd-networkd.service
-enable systemd-resolved.service
disable console-getty.service
disable console-shell.service
@@ -25,8 +22,3 @@ 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/90-timesyncd.preset b/system-preset/90-timesyncd.preset
new file mode 100644
index 0000000000..d40b418358
--- /dev/null
+++ b/system-preset/90-timesyncd.preset
@@ -0,0 +1,8 @@
+# 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.
+
+enable systemd-timesyncd.service