Grant <[email protected]> wrote: >> >> The way to do it nowadays would be by placing a file with the content >> d /run/munin 0775 munin nginx >> into /usr/lib/tmpfiles.d (if done by the distribution) or into >> /etc/tmpfiles.d (if this is only needed for your special setup). > > Will do. Is that leading "d " supposed to be there?
Yes, see http://www.freedesktop.org/software/systemd/man/tmpfiles.d.html > Am I creating and editing /etc/tmpfiles.d or /etc/tmpfiles.d/anyfilename ? Actually /etc/tmpfiles.d/anyname.conf (the .conf is important), see the above link. Note that /etc/tmpfiles.d/anyname.conf will "cancel" any existing /usr/lib/tmpfiles.d/anyname.conf: This is so that packages can provide a default (in /usr/lib) which you can override locally. (BTW: If that file is globally needed, I suggest you reoport a bug to *upstream* to install an appropriate file in /usr/lib/tmpfiles.d). One can argue whether this mechanism is better than etc-update, but it has some advantages: It works for all distributions, and moreover, you can see immediately which modifications you made locally (on the file level as well as with "diff" on a finer level).

