Re: Create a tmpfile with content from output of executing a command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No, and that doesn't sound like a good fit for systemd-tmpfiles anyway.

Use an ordinary Type=oneshot .service instead. (In current systemd versions, you can even specify StandardOutput to be a file; in older versions calling `/bin/sh -c "... > file"` is fine.)

Your email domain has a strict SPF/DMARC policy, and the obsolete mailing-list system used by Freedesktop.org does not play well with that, leading to some places such as Gmail quarantining all list-relayed messages from you. (I think it's because the list server damages your DKIM signatures.)

On Thu, Oct 5, 2023 at 12:44 PM Renjaya Raga Zenta <renjaya.zenta@xxxxxxxxxxxxxxx> wrote:
Hi list,

I'd like to create a temporary file using systemd-tmpfiles. The file
will contain merge of multiple text files. Can the argument field in
tmpfiles.d be a path to an executable? So I can create a script to
print the content of those multiple files.

Or maybe there is another way to do this?


Thank you.


--
Mantas Mikulėnas

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux