EmonScripts
EmonScripts copied to clipboard
Create a drop-in file for mosquitto settings
https://github.com/openenergymonitor/EmonScripts/blob/e5b4e7583d69dd0e1134a457094ad19ebc6869ff/install/mosquitto.sh#L12
As per most configurations, instead of editing a configuration file that may well be modified on upgrade, use drop in file of settings in the '/etc/mosquitto/conf.d` folder.
Enhancement of install, use drop-in instead of editing core file.