Re: [systemd-devel] Input on a systemd service for kodi and strangeness with permissions on /dev/null (systemd 229)

2016-03-28 Thread Mantas Mikulėnas
On Mon, Mar 28, 2016 at 9:45 PM, John wrote: > I am trying to write a service that will start and stop kodi[1] on Linux. > The best working draft I have so far is here[2] but it does not end in a > clean state if I `systemctl stop kodi` so I am looking for a good way to > use an ExecStop= stateme

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 on a systemd environment

[systemd-devel] Input on a systemd service for kodi and strangeness with permissions on /dev/null (systemd 229)

2016-03-28 Thread John
I am trying to write a service that will start and stop kodi[1] on Linux. The best working draft I have so far is here[2] but it does not end in a clean state if I `systemctl stop kodi` so I am looking for a good way to use an ExecStop= statement or perhaps even rewrite the service entirely. A

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?