1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-03 01:17:45 +03:00

NEWS: mention systemd-tmpfiles --user (#7574)

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-12-07 21:03:32 +01:00 committed by GitHub
parent 2ac6aeace1
commit 8ea2dcb061
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
NEWS
View File

@ -43,14 +43,21 @@ CHANGES WITH 236 in spe:
basic.target unit has been reached, instead of when the run queue ran basic.target unit has been reached, instead of when the run queue ran
empty for the first time. empty for the first time.
* Unit files learnt three new % specifiers that are expanded during * Tmpfiles.d with user configuration are now also supported.
loading: %S resolves to the top-level state directory (/var/lib for systemd-tmpfiles gained a new --user switch, and snippets placed in
the system instance, $XDG_CONFIG_HOME for the user instance), %C ~/.config/user-tmpfiles.d/ and corresponding directories will be
resolves to the top-level cache directory (/var/cache for the system executed by systemd-tmpfiles --user running in the new
instance, $XDG_CACHE_HOME for the user instance), %L resolves to the systemd-tmpfiles-setup.service and systemd-tmpfiles-clean.service
top-level logs directory (/var/log for the system instance, running in the user session.
* Unit files and tmpfiles.d snippets learnt three new % specifiers:
%S resolves to the top-level state directory (/var/lib for the system
instance, $XDG_CONFIG_HOME for the user instance), %C resolves to the
top-level cache directory (/var/cache for the system instance,
$XDG_CACHE_HOME for the user instance), %L resolves to the top-level
logs directory (/var/log for the system instance,
$XDG_CONFIG_HOME/log/ for the user instance). This matches the $XDG_CONFIG_HOME/log/ for the user instance). This matches the
existing %t specifier, that resolves to the top-level runtime existing %t specifier, that resolves to the top-level runtime
directory (/run for the system instance, and $XDG_RUNTIME_DIR for the directory (/run for the system instance, and $XDG_RUNTIME_DIR for the
user instance). user instance).