mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
9 lines
297 B
Bash
9 lines
297 B
Bash
#!/usr/bin/env bashio
|
|
declare TOKEN
|
|
CONFIG_PATH=/data/options.json
|
|
TOKEN=$(bashio::config 'secret_token')
|
|
|
|
cp -R -n /joal /data/joal
|
|
|
|
java -jar /joal/joal.jar --joal-conf=/data/joal --spring.main.web-environment=true --server.port="8081" --joal.ui.path.prefix="joal" --joal.ui.secret-token=$TOKEN
|