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
@@ -35,6 +35,4 @@ Missing options: `--root`, `--replace`, and `--purge`.
|
||||
left as it is, with a warning
|
||||
* An `x` or `X` entry with an age should have what it names cleaned
|
||||
by that age, the age is not read
|
||||
* The `%T` and `%V` specifiers are always `/tmp` and `/var/tmp`, they
|
||||
do not look at `$TMPDIR`
|
||||
* `mksubsys()` in `src/util.c` is unused
|
||||
Reference in new issue
Block a user