mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Add joal download code
This commit is contained in:
@@ -2,4 +2,10 @@
|
|||||||
declare TOKEN
|
declare TOKEN
|
||||||
TOKEN=$(bashio::config 'secret_token')
|
TOKEN=$(bashio::config 'secret_token')
|
||||||
|
|
||||||
|
curl -s -L -o /tmp/joal.tar.gz "https://github.com/anthonyraymond/joal/releases/download/UPSTREAM/joal.tar.gz"
|
||||||
|
mkdir -p /data/joal
|
||||||
|
tar zxvf /tmp/joal.tar.gz -C /data/joal
|
||||||
|
chown -R $(id -u):$(id -g) /data/joal
|
||||||
|
rm /data/joal/jack-of*
|
||||||
|
|
||||||
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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user