Refactor mosquitto.conf file and mosquitto service