mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-24 05:26:28 +01:00
Update 99-run.sh
This commit is contained in:
@@ -40,7 +40,7 @@ function shutdown_postgres {
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
trap 'shutdown_postgres' SIGTERM SIGINT
|
#trap 'shutdown_postgres' SIGTERM SIGINT
|
||||||
|
|
||||||
# Start background tasks
|
# Start background tasks
|
||||||
if [ "$(bashio::info.arch)" != "armv7" ]; then
|
if [ "$(bashio::info.arch)" != "armv7" ]; then
|
||||||
@@ -55,5 +55,7 @@ else
|
|||||||
POSTGRES_PID=$!
|
POSTGRES_PID=$!
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
bashio::log.info "Started!"
|
||||||
|
|
||||||
# Wait for processes to finish
|
# Wait for processes to finish
|
||||||
# wait "$VECTOR_PID" "$POSTGRES_PID"
|
# wait "$VECTOR_PID" "$POSTGRES_PID"
|
||||||
|
|||||||
Reference in New Issue
Block a user