On Mon, May 06, 2019 at 02:20:32PM +0200, Vincent Bernat wrote: > However, many people prefer /etc/default and /etc/sysconfig to systemd > overrides. And for distribution, it enables a smoother transition. For > Debian, we would still add the EnvironmentFile directive. You could > still be compatible with both styles of distribution with: > > EnvironmentFile=-/etc/default/haproxy > EnvironmentFile=-/etc/sysconfig/haproxy
Oh that's right, I forgot that the - was checking if the file exists, looks like a good solution. -- William Lallemand