On Sat, Mar 17, 2012 at 10:32:22AM -0400, Tom Lane wrote: > I have a shell script that needs to dig the values of a couple of > "Environment=" settings out of a systemd service file. Currently > it just assumes it knows the search path for such things, finds > the file, and greps for the right lines. This seems unduly friendly > with the file format, and it was just pointed out to me that it > completely fails to handle .include directives. So I'm wondering if > there is anything in the systemd infrastructure that could help me > do this in a more robust way. Ideas anyone? Augeas *ought* to be able to do this. Unfortunately I don't see any lens in upstream augeas git :-( But it'd be a nice feature to add. (CC'd to augeas-devel) Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel