mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: add --replace, files on the command line in place of one
A package script may run before the package's tmpfiles.d file is on
disk, and gives the entries on the command line or on standard input.
Then only those entries were read, so one that the admin has changed
in /etc/tmpfiles.d was run as the package has it.
With --replace=PATH all the tmpfiles.d files are read, and the ones on
the command line are read where the file PATH would be, as in
systemd-tmpfiles:
tmpfiles --create --replace=/usr/lib/tmpfiles.d/app.conf -
They are not read at all when a later directory has a file of that
name, as with a file that is installed.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
4 files changed
+99
-30
No files matched your search
@@ -17,4 +17,4 @@ files or common packages already rely on, last what few will miss.
|
||||
2. Command line
|
||||
---------------
|
||||
|
||||
Missing options: `--root`, `--replace`, and `--purge`.
|
||||
Missing options: `--root` and `--purge`.
|
||||
Reference in new issue
Block a user