build: clean up s6 overlay structure

This commit is contained in:
2025-02-22 08:29:48 -07:00
parent a6874a67f0
commit 90420823b0
12 changed files with 19 additions and 325 deletions

View File

@@ -1,16 +1,3 @@
#!/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