mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 21:54:20 +01:00
fix snips assistant (#223)
* fix snips assistant * Update config.json * Create CHANGELOG.md
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user