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.
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to