[systemd-devel] ExecStartPre checking conf
systemd at andypieters.me.uk
Sun May 19 11:19:01 UTC 2019
On Sun, May 19, 2019 at 11:26 AM Reindl Harald <h.reindl at thelounge.net>
> 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.
> In pre-systemd days, some init scripts aborted restart operations if there
was a syntax error in the apache conf or lighttpd conf. I'm guessing it is
in that same spirit that it has been added here as ExecStartPre
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the systemd-devel