fix snips assistant (#223)

* fix snips assistant

* Update config.json

* Create CHANGELOG.md
This commit is contained in:
Pascal Vizeli
2018-01-10 13:23:15 +01:00
committed by GitHub
parent 9e589a0d5e
commit 3b7b657f95
3 changed files with 6 additions and 2 deletions

View File

@@ -48,12 +48,12 @@ mosquitto -c /etc/mosquitto.conf &
# init snips config
mkdir -p "$SNIPS_CONFIG"
ln -s "$SNIPS_CONFIG/" "/opt/snips/config"
# check if a new assistant file exists
if [ -f "/share/$ASSISTANT" ]; then
echo "[Info] Install/Update snips assistant"
unzip -o -u "/share/$ASSISTANT" -d "$SNIPS_CONFIG"
fi
ln -s "$SNIPS_CONFIG/assistant/" /usr/share/snips/assistant
/opt/snips/snips-entrypoint.sh --mqtt localhost:1883