Verified Commit 7a063aa5 authored by Štěpán Henek's avatar Štěpán Henek 🌩

foris-client: fixing foris-notify-wrapper script

parent a1409581
......@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=foris-client
PKG_VERSION:=0.9.6
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitlab.labs.nic.cz/turris/foris-client
......
......@@ -63,7 +63,7 @@ elif [ "$bus" = "unix-socket" ]; then
config_get path unix_socket notification_path
/usr/bin/foris-notify $args unix-socket --path "$path" "$1" # only first notification
elif [ "$bus" = "mqtt" ]; then
config_get host mqtt host
config_get port mqtt port
config_get host mqtt host localhost
config_get port mqtt port 11883
/usr/bin/foris-notify $args mqtt --host "$host" --port "$port" "$1" # only first notification
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment