On a pfSense 2.4, I installed a custom xinetd service. I appended the necessary line to the list in /etc/services and wrote a stanza in /var/etc/xinetd.conf. After reloading xinetd, the service runs successfully.
However, the file /var/etc/xinetd.conf gets overwritten after some time automatically, and the stanza I wrote gets removed, and the service is being reloaded, and so my custom xinetd service disappears.
How can I make the changes to the xinetd configuration persistent?