From 82a30aae48de73c39b59fbcb810636f7376b7bbc Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 1 Jul 2014 01:14:11 +0200 Subject: [PATCH] man: extend a bit what to expect from the various places apps can store data --- man/file-hierarchy.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/man/file-hierarchy.xml b/man/file-hierarchy.xml index c85df72..a1b232d 100644 --- a/man/file-hierarchy.xml +++ b/man/file-hierarchy.xml @@ -709,15 +709,15 @@ /run/package - Runtime data for the package. Packages must be able to create the necessary subdirectories in this tree on their own, since the directory is flushed automatically on boot. Alternatively, a tmpfiles.d5 fragment may be used to create the necessary directories during boot. + Runtime data for the package. Packages must be able to create the necessary subdirectories in this tree on their own, since the directory is flushed automatically on boot. Alternatively, a tmpfiles.d5 fragment may be used to create the necessary directories during boot. Alternatively, the RuntimeDirectory= directive of service units may be used (see systemd.unit5 for details.) /run/log/package - Runtime log data for the package. + Runtime log data for the package. As above, the package needs to make sure to create this directory if necessary, as it will be flushed on every boot. /var/cache/package - Persistent cache data of the package. If this directory is flushed the application should work correctly on next invocation, though possibly slowed done due to the need to rebuild any local cache files. + Persistent cache data of the package. If this directory is flushed the application should work correctly on next invocation, though possibly slowed done due to the need to rebuild any local cache files. The application must be capable of recreating this directory should it be missing and necessary. /var/lib/package @@ -725,11 +725,11 @@ /var/log/package - Persistent log data of the package. + Persistent log data of the package. As above, the package should make sure to create this directory if necessary, as it might be missing. /var/spool/package - Persistent spool/queue data of the package. + Persistent spool/queue data of the package. As above, the package should make sure to create this directory if necessary, as it might be missing. @@ -743,7 +743,9 @@ hier7, systemd-boot-generator8, sysctl.d5, - pkg-config1 + tmpfiles.d5, + pkg-config1, + systemd.unit5 -- 2.7.4