'Twas brillig, and Pekka Lundstrom at 10/12/12 13:56 did gyre and gimble: > + > <term><varname>EnvironmentDir=</varname></term> > + <listitem><para>Similar to > + <varname>EnvironmentFile=</varname> but > + reads the environment variables from a > + directory containing files. Each file in > + that directory named with ".conf" suffix > + is read and prosessed and these files > + should follow same syntax as files > + listed with > <varname>EnvironmentFile=</varname>.
While not commenting on the need/usefulness etc. of the patch, would it be possible to make the EnvironmentFile directive simply support globbing? e.g. Rather than doing: EnvironmentDir=/etc/foo.d I could just have: EnvironmentFile=/etc/foo.d/*.conf That would, to me at least, seem slightly cleaner than adding a new directive to parse (although this is just my opinion at first glance - others may disagree!). 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/ _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel