On 9/18/2017 2:44 AM, maina maish wrote:
> Am editing /var/etc/haproxy/haproxy.cfg but looks like changes are getting
> cleared if someone uses Services/HAProxy/Frontends and applies changes
> using WebGui.
> 
> Is there way to make sure changes made through command line do not get
> cleared?

The GUI configuration for pfSense or a package will always overwrite
config files edited manually. That is part of the core design of the
entire system. There is no way for the GUI to know that a change to a
file was intentional, the config.xml settings are always assumed to be
correct.

If you don't want to use the GUI to maintain the haproxy configuration,
then don't install the GUI package; Install haproxy itself using pkg
from a shell prompt.

Jim P.
_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Reply via email to