Skip to content

Commit

Permalink
Check systemctl status
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu committed Apr 18, 2024
1 parent f95f837 commit 8f9f715
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/start_mosquitto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -ex
#!/bin/bash -e

ETC_DIR=/etc/mosquitto
CONF_FILE=$ETC_DIR/mosquitto.conf
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8f9f715

Please sign in to comment.