[systemd-devel] binding tmpfiles.d to unit startup

Lennart Poettering lennart at poettering.net
Mon Mar 3 09:53:37 PST 2014


On Sun, 02.03.14 23:55, Lennart Poettering (lennart at poettering.net) wrote:

> I am still open for this btw. If somebody wants to hack on that, I
> figure this should simply be addded to ExecContext, as a strv of
> directory names. In exec_spawn() we'd then just create all those dirs,
> right after resolving the UID/GID. When running in system mode we'd then
> create the dirs in /run, when running user mode in $XDG_RUNTIME_DIR.
> 
> Should be a ~20 line patch or so...

Just to mention this: I have implemented this now in git.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list