mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-15 12:39:23 +02:00
Update 99-run.sh
This commit is contained in:
@@ -20,6 +20,7 @@ fi
|
|||||||
# NGINX SETTING #
|
# NGINX SETTING #
|
||||||
#################
|
#################
|
||||||
|
|
||||||
|
if [[ "$INGRESS" == "true" ]]; then
|
||||||
#declare port
|
#declare port
|
||||||
#declare certfile
|
#declare certfile
|
||||||
declare ingress_interface
|
declare ingress_interface
|
||||||
@@ -51,6 +52,7 @@ for file in /config/hypercorn.toml $(find /usr -name hypercorn.toml.default); do
|
|||||||
sed -i "1a root_path = \"${FB_BASEURL}\"" "$file"
|
sed -i "1a root_path = \"${FB_BASEURL}\"" "$file"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
##############
|
##############
|
||||||
# LAUNCH APP #
|
# LAUNCH APP #
|
||||||
@@ -63,8 +65,9 @@ bashio::log.warning "Username: comixedreader@localhost Password: comixedreader"
|
|||||||
bashio::log.info "Starting..."
|
bashio::log.info "Starting..."
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
/./app/comixed-release*/bin/run.sh -L /config/comixed.log & true
|
/./app/comixed-release*/bin/run.sh -L /config/comixed.log
|
||||||
|
|
||||||
bashio::net.wait_for 7171 localhost 900 || true
|
#& true
|
||||||
bashio::log.info "Started !"
|
#bashio::net.wait_for 7171 localhost 900 || true
|
||||||
exec nginx
|
#bashio::log.info "Started !"
|
||||||
|
#exec nginx
|
||||||
|
|||||||
Reference in New Issue
Block a user