Update entrypoint to exclude cont-init.d scripts

This commit is contained in:
Alexandre
2025-09-15 15:51:23 +02:00
committed by GitHub
parent b7b7b07170
commit 5241603a3e

View File

@@ -103,7 +103,7 @@ done
# Start run scripts in services.d and s6-overlay/s6-rc.d if PID1
if $PID1; then
shopt -s nullglob # Don't expand unmatched globs to themselves
for runfile in /etc/services.d/*/run /etc/s6-overlay/s6-rc.d/*/run /etc/cont-init.d/*; do
for runfile in /etc/services.d/*/run /etc/s6-overlay/s6-rc.d/*/run; do
[ -f "$runfile" ] || continue
echo "Starting: $runfile"
apply_s6_mods "$runfile"