Revert "build: clean up s6 overlay structure"

This reverts commit 90420823b0.
This commit is contained in:
2025-02-22 11:06:12 -07:00
parent 90420823b0
commit 8be328e769
12 changed files with 325 additions and 19 deletions

View File

@@ -1,3 +1,16 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
if pgrep -f "[n]ginx:" >/dev/null; then
echo "Zombie nginx processes detected, sending SIGTERM"
pkill -ef [n]ginx:
sleep 1
fi
if pgrep -f "[n]ginx:" >/dev/null; then
echo "Zombie nginx processes still active, sending SIGKILL"
pkill -9 -ef [n]ginx:
sleep 1
fi
# exec /usr/sbin/nginx