[systemd-devel] Formal syntax of unit file format

Tomasz Torcz tomek at pipebreaker.pl
Mon Mar 28 15:47:41 UTC 2016


On Sun, Mar 27, 2016 at 07:04:57PM +0200, Damiano Albani wrote:
> 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).
> 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?

  There is “systemd-analyze verify …”.

-- 
Tomasz Torcz                "Funeral in the morning, IDE hacking
xmpp: zdzichubg at chrome.pl    in the afternoon and evening." - Alan Cox



More information about the systemd-devel mailing list