1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +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
empty for the first time.
* Unit files learnt three new % specifiers that are expanded during
loading: %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,
* Tmpfiles.d with user configuration are now also supported.
systemd-tmpfiles gained a new --user switch, and snippets placed in
~/.config/user-tmpfiles.d/ and corresponding directories will be
executed by systemd-tmpfiles --user running in the new
systemd-tmpfiles-setup.service and systemd-tmpfiles-clean.service
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
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
user instance).