Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify mosquitto configuration by drop in #98

Closed
borpin opened this issue Apr 25, 2019 · 1 comment
Closed

modify mosquitto configuration by drop in #98

borpin opened this issue Apr 25, 2019 · 1 comment

Comments

@borpin
Copy link
Contributor

borpin commented Apr 25, 2019

sudo sed -i "s/^persistence true/persistence false/" /etc/mosquitto/mosquitto.conf

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.

@borpin
Copy link
Contributor Author

borpin commented Jan 29, 2020

Did you do anything about this? Still a better method than modifying the base config that may be overwritten. Do you want me to open a new one on EmonScripts? openenergymonitor/EmonScripts#77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants