[systemd-devel] [PATCH] Explain structure of tmpfiles.d
Andreas Jaeger
aj at novell.com
Thu Nov 4 03:30:56 PDT 2010
IMO we should add an easy reference of the structure of tmpfiles.d files.
Here's a patch,
Andreas
From: Andreas Jaeger <aj at suse.de>
Date: Thu, 4 Nov 2010 11:26:55 +0100
Subject: [PATCH] Explain structure of file.
---
tmpfiles.d/systemd.conf | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf
index f73ab90..3d5db0e 100644
--- a/tmpfiles.d/systemd.conf
+++ b/tmpfiles.d/systemd.conf
@@ -4,6 +4,17 @@
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
+#
+# Format of entries is:
+# type path mode uid gid age
+# type is one of:
+# 'f': create file
+# 'F': truncate file
+# 'd': create directory
+# 'D': truncate directory
+# 'x': ignore path
+# 'r': remove path
+# 'R': recursive remove path
d /var/lock/subsys 0755 root root -
d /var/run/user 0755 root root 10d
--
1.7.3.1
--
Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org}
Twitter: jaegerandi | Identica: jaegerandi
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
More information about the systemd-devel
mailing list