Re: [systemd-devel] Formal syntax of unit file format

2016-04-01 Thread Damiano Albani
On Fri, Apr 1, 2016 at 11:05 AM, Lennart Poettering wrote: > > > Wouldn't that be useful, in order to build a unit file validator / parser > > for example? > > As mentioned, there's "systemd-analyze verify" which not only checks > the general formatting but also tries to

Re: [systemd-devel] Formal syntax of unit file format

2016-04-01 Thread Lennart Poettering
On Sun, 27.03.16 19:04, Damiano Albani (damiano.alb...@gmail.com) 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). We never put that together really. And I am not sure we should put together an

Re: [systemd-devel] Formal syntax of unit file format

2016-03-28 Thread Damiano Albani
On Mon, Mar 28, 2016 at 5:47 PM, Tomasz Torcz wrote: > > There is “systemd-analyze verify …”. > Thanks for the tip, but it's not really the kind of standalone, "out-of-band" validator that I'm looking for. (It does much more that only syntax checking and requires running

Re: [systemd-devel] Formal syntax of unit file format

2016-03-28 Thread Tomasz Torcz
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?

[systemd-devel] Formal syntax of unit file format

2016-03-27 Thread Damiano Albani
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 but the syntax herein is broadly expressed in written form,