https://docs.pi-hole.net/guides/dns/dnscrypt-proxy/
In this Pi-hole installation documentation, the user is told to edit /usr/lib/systemd/system/dnscrypt-proxy.socket and make the following changes for dnscrypt-proxy listening to Pi-hole's DNS requests:
ListenStream=127.0.0.1:5053
ListenDatagram=127.0.0.1:5053

This is a bad idea as this YouTube video about Systemd units shows:
https://youtu.be/Kzpm-rGAXos?t=1240
Any Systemd unit placed in /usr/lib/systemd/system/ was likely placed by installing a package, and will be overwritten if the package receives an update. This will break any configuration the user put there.
Instead the user should be told to either copy /usr/lib/systemd/system/dnscrypt-proxy.socket to /etc/systemd/system/dnscrypt-proxy.socket and make their changes there, where they will take higher priority and not be affected by changes inside /usr/lib/systemd/system/dnscrypt-proxy.socket or use the systemctl edit dnscrypt-proxy.socket command to use an override file.
That way even when DNSCrypt receives an update which changes the Systemd units. The user configuration remains untouched.