[systemd-devel] [ANNOUNCE] systemd 211

Colin Guthrie gmane at colin.guthr.ie
Wed Mar 12 08:12:25 PDT 2014


'Twas brillig, and Lennart Poettering at 12/03/14 00:30 did gyre and gimble:
>         * Two new unit file settings RuntimeDirectory= and
>           RuntimeDirectoryMode= have been added that may be used to
>           manage a per-daemon runtime directories below /run. This is
>           an alternative for setting up directory permissions with
>           tmpfiles snippets, and has the advantage that the runtime
>           directory's lifetime is bound to the daemon runtime and that
>           the daemon starts up with an empty directory each time. This
>           is particularly useful when writing services that drop
>           priviliges using the User= or Group= setting.

Very handy!

Am I correct to assume that if a User=/Group= directive is given that
said RuntimeDirectory would be owned/group-owned as appropriate?

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/



More information about the systemd-devel mailing list