question: ExecStartPre removal from systemd unit file

2021-08-19 Thread William Lallemand
Hi List, I realized yesterday that we have this line in the systemd unit file: ExecStartPre=@SBINDIR@/haproxy -f $CONFIG -c -q $EXTRAOPTS Which does not make any sense to me since starting HAProxy itself checks the configuration, so it slows the start of the service for nothing. I'm going t

Re: question: ExecStartPre removal from systemd unit file

2021-08-19 Thread Tim Düsterhus
William, On 8/19/21 12:04 PM, William Lallemand wrote: I realized yesterday that we have this line in the systemd unit file: ExecStartPre=@SBINDIR@/haproxy -f $CONFIG -c -q $EXTRAOPTS Which does not make any sense to me since starting HAProxy itself checks the configuration, so it slows t

Re: question: ExecStartPre removal from systemd unit file

2021-08-19 Thread William Lallemand
Hi Tim, On Thu, Aug 19, 2021 at 12:22:25PM +0200, Tim Düsterhus wrote: > > The config check should prevent HAProxy from going into wait mode when > the config is bad on a reload. If I am not mistaken it's not possible to > recover from wait mode without a full restart, no? > Well, this line i

Re: question: ExecStartPre removal from systemd unit file

2021-08-19 Thread Tim Düsterhus
William, On 8/19/21 1:50 PM, William Lallemand wrote: The config check should prevent HAProxy from going into wait mode when the config is bad on a reload. If I am not mistaken it's not possible to recover from wait mode without a full restart, no? Well, this line is not used for the reload,