#!/bin/bash

export AQHOME_LOGLEVEL=info 
export LD_LIBRARY_PATH="0-build/aqhome/:$LD_LIBRARY_PATH"

# 0-build/apps/aqhome-storage/aqhome-storage $*

0-build/apps/aqhome-storage/aqhome-storage \
  --sourcefolder=apps/aqhome-storage/test/html \
  --datafolder=apps/aqhome-storage/test/data \
  -D apps/aqhome-storage/test/config \
  --statefile=apps/aqhome-storage/test/config/state \
  -ma 192.168.117.192 -mp 1883 --mqttclientid=AQHOMESTORAGETEST \
  -ha 127.0.0.1 -hp 1884 \
  -p ./aqhome-storage.pid \
  "$@"
