Skip to content

Commit

Permalink
Small fixes for Hassio add-on
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Jan 25, 2020
1 parent ef7fc0c commit 8067256
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file modified monitor.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion support/init
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ git_path=$(which git)

#RUNTYPE
SERVICE_ACTIVE=true
systemctl is-active --quiet monitor && SERVICE_ACTIVE=true || SERVICE_ACTIVE=false
which systemctl >/dev/null && systemctl is-active --quiet monitor && SERVICE_ACTIVE=true || SERVICE_ACTIVE=false

#VERSION CHECKER
mosquitto_sub_version=$($mosquitto_sub_path --help | grep -Eo "version [0-9.]{3,}" | sed 's/[^0-9.]//gi')
Expand Down

0 comments on commit 8067256

Please sign in to comment.