[systemd-devel] Formal syntax of unit file format

Damiano Albani damiano.albani at gmail.com
Sun Mar 27 17:04:57 UTC 2016


Hello,

I've searched quite extensively but I haven't been able to find a *formal*
description of the unit file format (e.g. via ABNF).
There does exist a manual page
<https://www.freedesktop.org/software/systemd/man/systemd.unit.html> but
the syntax herein is broadly expressed in written form, i.e. not as a
formal grammar.
Wouldn't that be useful, in order to build a unit file validator / parser
for example?
Do such (standalone) tools already exist by the way?

Thanks,

-- 
Damiano Albani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160327/c5f64812/attachment.html>


More information about the systemd-devel mailing list