summaryrefslogtreecommitdiff
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-26 09:27:11 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-26 09:35:07 +0100
commitd83e90c73cf25a839f5e60f355baa0d38364ff41 (patch)
tree2b924b2e897c0b0c2fcf97cbcbccfb7afbc843e8 /tmpfiles.d
parent3b0754b16c5535fd48f48ca39f69335ef695efe7 (diff)
downloadsystemd-d83e90c73cf25a839f5e60f355baa0d38364ff41.tar.gz
Add READMEs in all .d directories
Diffstat (limited to 'tmpfiles.d')
-rw-r--r--tmpfiles.d/README8
-rw-r--r--tmpfiles.d/meson.build27
2 files changed, 22 insertions, 13 deletions
diff --git a/tmpfiles.d/README b/tmpfiles.d/README
new file mode 100644
index 0000000000..b42cec2745
--- /dev/null
+++ b/tmpfiles.d/README
@@ -0,0 +1,8 @@
+Files in this directory contain configuration for systemd-tmpfiles, a program
+to create, delete, and clean up volatile and temporary files and directories.
+
+See man:tmpfiles.d(5) for explanation of the configuration file format, and
+man:systemd-tmpfiles(8) for a description of when and how this configuration is
+applied.
+
+Use 'systemd-analyze cat-config tmpfiles.d' to display the effective config.
diff --git a/tmpfiles.d/meson.build b/tmpfiles.d/meson.build
index 7322460dba..d5d4bbc9ea 100644
--- a/tmpfiles.d/meson.build
+++ b/tmpfiles.d/meson.build
@@ -2,19 +2,20 @@
enable_tmpfiles = conf.get('ENABLE_TMPFILES') == 1
-tmpfiles = [['home.conf', ''],
- ['journal-nocow.conf', ''],
- ['systemd-nologin.conf', 'HAVE_PAM'],
- ['systemd-nspawn.conf', 'ENABLE_MACHINED'],
- ['systemd-tmp.conf', ''],
- ['portables.conf', 'ENABLE_PORTABLED'],
- ['systemd-pstore.conf', 'ENABLE_PSTORE'],
- ['tmp.conf', ''],
- ['x11.conf', ''],
- ['legacy.conf', 'HAVE_SYSV_COMPAT'],
- ]
-
-foreach pair : tmpfiles
+files = [['README', ''],
+ ['home.conf', ''],
+ ['journal-nocow.conf', ''],
+ ['systemd-nologin.conf', 'HAVE_PAM'],
+ ['systemd-nspawn.conf', 'ENABLE_MACHINED'],
+ ['systemd-tmp.conf', ''],
+ ['portables.conf', 'ENABLE_PORTABLED'],
+ ['systemd-pstore.conf', 'ENABLE_PSTORE'],
+ ['tmp.conf', ''],
+ ['x11.conf', ''],
+ ['legacy.conf', 'HAVE_SYSV_COMPAT'],
+ ]
+
+foreach pair : files
if not enable_tmpfiles
# do nothing
elif pair[1] == '' or conf.get(pair[1]) == 1