From 8f9f71552d0dddc796ad75eabf090c3aac801f59 Mon Sep 17 00:00:00 2001 From: Trevor Pering Date: Wed, 17 Apr 2024 17:08:58 -0700 Subject: [PATCH] Check systemctl status --- bin/start_mosquitto | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/start_mosquitto b/bin/start_mosquitto index 6226146a03..22120849f3 100755 --- a/bin/start_mosquitto +++ b/bin/start_mosquitto @@ -1,4 +1,4 @@ -#!/bin/bash -ex +#!/bin/bash -e ETC_DIR=/etc/mosquitto CONF_FILE=$ETC_DIR/mosquitto.conf @@ -35,6 +35,9 @@ sudo touch $PASS_FILE sudo mosquitto_passwd -b ${PASS_FILE} ${AUTH_USER} ${AUTH_PASS} sudo systemctl restart mosquitto + +echo +systemctl status mosquitto echo mosquitto_ctrl -u $AUTH_USER -P $AUTH_PASS dynsec setDefaultACLAccess publishClientSend allow