On Mon, 2019-05-20 at 11:56 +0200, Lennart Poettering wrote:
> about that though). Using ExecStartPre= for a syntax checker appears
> pretty pointless to me, as yes, you just end up doing the same work
> twice, and you might as well have the ExecStart= fail rather than the
> ExecStartPre=, there's
On Mo, 20.05.19 12:37, Olaf van der Spek (m...@vdspek.org) wrote:
> On Mon, May 20, 2019 at 11:56 AM Lennart Poettering
> wrote:
> >
> > On So, 19.05.19 11:45, Olaf van der Spek (m...@vdspek.org) wrote:
> >
> > > Hi,
> > >
> > > ExecStartPre is sometimes used to check the configuration. Does this
On Mon, May 20, 2019 at 11:56 AM Lennart Poettering
wrote:
>
> On So, 19.05.19 11:45, Olaf van der Spek (m...@vdspek.org) wrote:
>
> > Hi,
> >
> > ExecStartPre is sometimes used to check the configuration. Does this
> > make sense?
>
> I don't think it does. I figure what people are actually looki
On So, 19.05.19 11:45, Olaf van der Spek (m...@vdspek.org) wrote:
> Hi,
>
> ExecStartPre is sometimes used to check the configuration. Does this
> make sense?
I don't think it does. I figure what people are actually looking for
is a way they can run a syntax checker on restart, before stopping th
On Sun, May 19, 2019 at 12:26 PM Reindl Harald wrote:
> Am 19.05.19 um 11:45 schrieb Olaf van der Spek:
> > ExecStartPre is sometimes used to check the configuration. Does this make
> > sense?
> > It seems this causes a lot of code to run twice, as the configuration
> > is checked on the real inv
On Sun, May 19, 2019 at 11:26 AM Reindl Harald
wrote:
>
>
> Am 19.05.19 um 11:45 schrieb Olaf van der Spek:
> > ExecStartPre is sometimes used to check the configuration. Does this
> make sense?
> > It seems this causes a lot of code to run twice, as the configuration
> > is checked on the real i
Am 19.05.19 um 11:45 schrieb Olaf van der Spek:
> ExecStartPre is sometimes used to check the configuration. Does this make
> sense?
> It seems this causes a lot of code to run twice, as the configuration
> is checked on the real invocation anyway.
>
> [Unit]
> Description=Lighttpd Daemon
> Aft
Hi,
ExecStartPre is sometimes used to check the configuration. Does this make sense?
It seems this causes a lot of code to run twice, as the configuration
is checked on the real invocation anyway.
[Unit]
Description=Lighttpd Daemon
After=network-online.target
[Service]
Type=simple
PIDFile=/var/r