I want to stop avahi-daemon (mDNS) and have it stay stopped.
It seems to restart a bit after midnight. Obviously some sort of periodic job is restarting it but I can't figure out what is.
TANGENT: I tried stopping avahi-daemon.service with systemctl but that did not work. Only the older style "service stop" stopped the service (albeit temporarily).
You need to stop socket. You can use this command:
Also you can disable service forever and restart the system:
To revert it run: