mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-17 12:59:13 +02:00
Update 99-run.sh
This commit is contained in:
@@ -9,21 +9,24 @@ for k in $(bashio::jq "/data/options.json" 'keys | .[]'); do
|
|||||||
bashio::log.blue "$k"="$(bashio::config "$k")"
|
bashio::log.blue "$k"="$(bashio::config "$k")"
|
||||||
export "$k"="$(bashio::config "$k")"
|
export "$k"="$(bashio::config "$k")"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
#######################
|
||||||
|
# Run haugene scripts #
|
||||||
|
#######################
|
||||||
|
|
||||||
bashio::log.info "Running userscript"
|
bashio::log.info "Running userscript"
|
||||||
chmod +x /etc/transmission/userSetup.sh
|
chmod +x /etc/transmission/userSetup.sh
|
||||||
/./etc/transmission/userSetup.sh
|
/./etc/transmission/userSetup.sh
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
bashio::log.info "Starting app"
|
bashio::log.info "Starting app"
|
||||||
|
/./etc/openvpn/start.sh & echo ""
|
||||||
|
|
||||||
/./etc/openvpn/start.sh & echo "Starting nginx"
|
#################
|
||||||
|
# Allow ingress #
|
||||||
|
#################
|
||||||
|
|
||||||
bashio::net.wait_for 9091 localhost 900
|
bashio::net.wait_for 9091 localhost 900
|
||||||
|
|
||||||
bashio::log.info "Ingress ready"
|
bashio::log.info "Ingress ready"
|
||||||
|
|
||||||
exec nginx
|
exec nginx
|
||||||
|
|||||||
Reference in New Issue
Block a user