mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01: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")"
|
||||
export "$k"="$(bashio::config "$k")"
|
||||
done
|
||||
|
||||
echo ""
|
||||
|
||||
#######################
|
||||
# Run haugene scripts #
|
||||
#######################
|
||||
|
||||
bashio::log.info "Running userscript"
|
||||
chmod +x /etc/transmission/userSetup.sh
|
||||
/./etc/transmission/userSetup.sh
|
||||
|
||||
echo ""
|
||||
|
||||
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::log.info "Ingress ready"
|
||||
|
||||
exec nginx
|
||||
|
||||
Reference in New Issue
Block a user