Re: ExecStartPre checking conf

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

 



On So, 19.05.19 11:45, Olaf van der Spek (ml@xxxxxxxxxx) 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 the
old instance. But we do not provide such functionality (there's an RFE
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 little benefit in that.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
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