mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: let %T and %V follow $TMPDIR
The %T and %V specifiers are always /tmp and /var/tmp. In systemd both are the first of $TMPDIR, $TEMP, and $TMP that is set to an absolute path of a directory, and only otherwise /tmp and /var/tmp. Do the same. At boot none of them are set, so nothing changes there. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
4 files changed
+29
-4
No files matched your search
@@ -38,6 +38,8 @@ All relevant changes are documented in this file.
|
||||
each below a line with its name
|
||||
- tmpfiles: add `--graceful`, for scripts that give it. It changes
|
||||
nothing, an unknown user or group is never an error in Finit
|
||||
- tmpfiles: the `%T` and `%V` specifiers now follow `$TMPDIR`, `$TEMP`,
|
||||
or `$TMP`, when set to a directory
|
||||
- tmpfiles: add `--prefix=PATH`, to only run the entries for paths below
|
||||
it. `--prefix` and `--exclude-prefix` match whole path components,
|
||||
`--exclude-prefix=/dev` no longer skips `/devices`
|
||||
|
||||
Reference in new issue
Block a user