mirror of
https://github.com/dockersrc/almalinux
synced 2025-09-18 03:57:49 -04:00
🗃️ Committing everything that changed 🗃️
Some checks failed
almalinux-10-dev / almalinux-10-dev (push) Has been cancelled
almalinux-10 / almalinux-10 (push) Has been cancelled
almalinux-8-dev / almalinux-8-dev (push) Has been cancelled
almalinux-8 / almalinux-8 (push) Has been cancelled
almalinux-9-dev / almalinux-9-dev (push) Has been cancelled
almalinux-9 / almalinux-9 (push) Has been cancelled
almalinux-latest / almalinux-latest (push) Has been cancelled
Some checks failed
almalinux-10-dev / almalinux-10-dev (push) Has been cancelled
almalinux-10 / almalinux-10 (push) Has been cancelled
almalinux-8-dev / almalinux-8-dev (push) Has been cancelled
almalinux-8 / almalinux-8 (push) Has been cancelled
almalinux-9-dev / almalinux-9-dev (push) Has been cancelled
almalinux-9 / almalinux-9 (push) Has been cancelled
almalinux-latest / almalinux-latest (push) Has been cancelled
rootfs/usr/local/etc/docker/functions/entrypoint.sh
This commit is contained in:
@@ -152,7 +152,7 @@ __no_exit() {
|
||||
} >> "/data/logs/start.log"
|
||||
|
||||
# Terminate the container (PID 1 is the init process)
|
||||
kill -TERM 1
|
||||
exit 1
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -743,8 +743,8 @@ __exec_command() {
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Setup the server init scripts
|
||||
__start_init_scripts() {
|
||||
set -e
|
||||
trap 'echo "❌ Fatal error in service startup - killing container"; rm -f /run/__start_init_scripts.pid; kill -TERM 1' ERR
|
||||
# Remove set -e to let individual scripts handle their own errors properly
|
||||
trap 'echo "❌ Fatal error in service startup - killing container"; rm -f /run/__start_init_scripts.pid; exit 1' ERR
|
||||
|
||||
[ "$1" = " " ] && shift 1
|
||||
[ "$DEBUGGER" = "on" ] && echo "Enabling debugging" && set -o pipefail -x$DEBUGGER_OPTIONS || set -o pipefail
|
||||
|
Reference in New Issue
Block a user