Re: ExecStartPre checking conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Sun, May 19, 2019 at 11:26 AM Reindl Harald <h.reindl@xxxxxxxxxxxxx> 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 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 
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux