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.
# 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]
# 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]
# 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]
# 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]
# 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]
# 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]
# 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]