FreeBSD Port: haproxy-1.7.8

Alan Makoev hop at inbox.ru
Thu Aug 10 14:30:19 UTC 2017


Hello FreeBSD team!
I installed haproxy and found that it's rc script ignores pidfile set in 
rc.d. I suppose this is because these lines:

: ${haproxy_enable:="NO"}
: ${haproxy_config:="%%PREFIX%%/etc/${name}.conf"}
pidfile=${haproxy_pidfile:-"/var/run/haproxy.pid"}

precede this one:

load_rc_config $name

As a result, haproxy_enable and haproxy_config are redefined when 
loading config, but pidfile keeps the default value.
Best regards
Alan Makoev.


More information about the freebsd-ports mailing list