]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
config files: recommend systemd-analyze cat-config
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 Mar 2021 07:43:03 +0000 (08:43 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 Mar 2021 07:45:04 +0000 (08:45 +0100)
This adds the same line to most of our .conf files.

Not for systemd/user.conf though, since we can't correctly display it right
now:
$ systemd-analyze cat-config --user systemd/user.conf
Option --user is not supported for cat-config right now.

For sysusers.d, tmpfiles.d, rules.d, etc, there is no single file. Maybe
we should short READMEs in /usr/lib/sysusers.d, /usr/lib/tmpfiles.d, etc.?

Inspired by #19118.

src/core/system.conf.in
src/coredump/coredump.conf
src/home/homed.conf
src/journal/journald.conf
src/login/logind.conf.in
src/oom/oomd.conf
src/resolve/resolved.conf.in

index b8805b02fa365b5d1a982a2cfd2ee89fc2bcf383..fa6fb690c7806a11348de5573089e1469e62f253 100644 (file)
@@ -10,6 +10,8 @@
 # the system.conf.d/ subdirectory. The latter is generally recommended.
 # Defaults can be restored by simply deleting this file and all drop-ins.
 #
+# Use 'systemd-analyze cat-config systemd/system.conf' to display the full config.
+#
 # See systemd-system.conf(5) for details.
 
 [Manager]
index 738c45bed25af9a7200eda60acf394755ee85394..56c100824524185386bc7c40de63286e06e309d8 100644 (file)
@@ -10,6 +10,8 @@
 # the system.conf.d/ subdirectory. The latter is generally recommended.
 # Defaults can be restored by simply deleting this file and all drop-ins.
 #
+# Use 'systemd-analyze cat-config systemd/coredump.conf' to display the full config.
+#
 # See coredump.conf(5) for details.
 
 [Coredump]
index 86b6266895ca6a5836424f8fc54e4061c2c1168d..ba854641df78f5b3e6d50ebcd6be07ece3fead1d 100644 (file)
@@ -10,6 +10,8 @@
 # the system.conf.d/ subdirectory. The latter is generally recommended.
 # Defaults can be restored by simply deleting this file and all drop-ins.
 #
+# Use 'systemd-analyze cat-config systemd/homed.conf' to display the full config.
+#
 # See homed.conf(5) for details.
 
 [Home]
index ee674ebefed4bb93b25f46d5e121129b1b825a2e..18d6b30773bad40962631dc8b50c727ff01382f6 100644 (file)
@@ -10,6 +10,8 @@
 # the system.conf.d/ subdirectory. The latter is generally recommended.
 # Defaults can be restored by simply deleting this file and all drop-ins.
 #
+# Use 'systemd-analyze cat-config systemd/journald.conf' to display the full config.
+#
 # See journald.conf(5) for details.
 
 [Journal]
index 800c452a60f6de606ed17bef14f084a28b0f071f..76f529c176be017003b5961b50340e208a69d0a8 100644 (file)
@@ -10,6 +10,8 @@
 # the system.conf.d/ subdirectory. The latter is generally recommended.
 # Defaults can be restored by simply deleting this file and all drop-ins.
 #
+# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
+#
 # See logind.conf(5) for details.
 
 [Login]
index f1bef9de6fb912795b7c311886bc6e9539d4e232..d1dca0d64d15f60c3f63f54e4ddc6e5d184c9f70 100644 (file)
@@ -10,6 +10,8 @@
 # the system.conf.d/ subdirectory. The latter is generally recommended.
 # Defaults can be restored by simply deleting this file and all drop-ins.
 #
+# Use 'systemd-analyze cat-config systemd/oomd.conf' to display the full config.
+#
 # See oomd.conf(5) for details
 
 [OOM]
index 33187618e5c6c1ab426fc957921805592bed995e..f88a4e97c0d9b7e4cb74d688e884e2134e917aa0 100644 (file)
@@ -10,6 +10,8 @@
 # the system.conf.d/ subdirectory. The latter is generally recommended.
 # Defaults can be restored by simply deleting this file and all drop-ins.
 #
+# Use 'systemd-analyze cat-config systemd/resolved.conf' to display the full config.
+#
 # See resolved.conf(5) for details.
 
 [Resolve]