X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.exec.xml;h=f1bcf9b7bd645f2931fe96699db04ce833c4d947;hb=2d0efdf1af5ff77441228854343c61d42a89840c;hp=9224f1ef3d5e38afcb6e2d83b4fc08f3a1f24244;hpb=f513e420c8b1a1d4c13092cd378f048b69793497;p=elogind.git
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index 9224f1ef3..f1bcf9b7b 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -1195,6 +1195,46 @@
kernel.
+
+ RuntimeDirectory=
+ RuntimeDirectoryMode=
+
+ Takes a list of
+ directory names. If set one or more
+ directories by the specified names
+ will be created below
+ /run (for system
+ services) or below
+ $XDG_RUNTIME_DIR
+ (for user services) when the unit is
+ started and removed when the unit is
+ stopped. The directories will have the
+ access mode specified in
+ RuntimeDirectoryMode=,
+ and will be owned by the user and
+ group specified in
+ User= and
+ Group=. Use this to
+ manage one or more runtime directories
+ of the unit and bind their lifetime to
+ the daemon runtime. The specified
+ directory names must be relative, and
+ may not include a
+ /, i.e. must refer
+ to simple directories to create or
+ remove. This is particularly useful
+ for unpriviliges daemons that cannot
+ create runtime directories in
+ /run due to lack
+ of privileges, and to make sure the
+ runtime directory is cleaned up
+ automatically after use. For runtime
+ directories that require more complex
+ or different configuration or lifetime
+ guarantees, please consider using
+ tmpfiles.d5.
+
+
@@ -1352,6 +1392,7 @@
systemd.kill5,
systemd.resource-control5,
systemd.directives7,
+ tmpfiles.d5,
exec3