Does systemd expose any unit-file-parsing functionality?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

			regards, tom lane
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux