Date: Thu, 10 Aug 2017 17:29:42 +0300 From: Alan Makoev <hop@inbox.ru> To: demon@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: haproxy-1.7.8 Message-ID: <01ae2c2e-4d1f-df7d-b7c7-8b9677ce961e@inbox.ru>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01ae2c2e-4d1f-df7d-b7c7-8b9677ce961e>
