From 0f8764fa10fe44a090904ec69943df5deab02e1c Mon Sep 17 00:00:00 2001 From: Colin Kuebler Date: Thu, 3 Oct 2019 13:23:44 -0400 Subject: [PATCH] Revert changes to mosquitto, apparently the config is not respected and I haven't been able to figure out why --- scripts/mosquitto.conf | 3 --- start_flash.sh | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 scripts/mosquitto.conf diff --git a/scripts/mosquitto.conf b/scripts/mosquitto.conf deleted file mode 100644 index 18ac1a8..0000000 --- a/scripts/mosquitto.conf +++ /dev/null @@ -1,3 +0,0 @@ -bind_address 10.42.42.1 -persistence false - diff --git a/start_flash.sh b/start_flash.sh index b4b20d3..7a9db55 100755 --- a/start_flash.sh +++ b/start_flash.sh @@ -40,7 +40,9 @@ $screen_with_log smarthack-wifi.log -S smarthack-wifi -m -d ./setup_ap.sh echo " Starting web server in a screen" $screen_with_log smarthack-web.log -S smarthack-web -m -d ./fake-registration-server.py echo " Starting Mosquitto in a screen" -$screen_with_log smarthack-mqtt.log -S smarthack-mqtt -m -d mosquitto -v -c mosquitto.conf +sudo service mosquitto stop >/dev/null 2>&1 +sudo pkill mosquitto +$screen_with_log smarthack-mqtt.log -S smarthack-mqtt -m -d mosquitto -v echo echo "======================================================" echo