Re: ExecStartPre checking conf

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

 



On Sun, May 19, 2019 at 12:26 PM 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 my opinion not really
>
> it could be useful if would be a "ExecRestartPre" to prevent the stop
> action in case of a syntax error but if the unit fail because of
> ExecStartPew or a failure of ExecStart don't make much difference

But ExecRestartPre doesn't exist does it?


-- 
Olaf
_______________________________________________
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