Files
nginx-proxy-manager/rootfs/usr/local/bin/entrypoint.sh
2024-03-12 17:25:16 +01:00

12 lines
233 B
Bash
Executable File

#!/bin/sh
if [ -n "$(ls -A /data/etc/prerun 2> /dev/null)" ]; then
for script in /data/etc/prerun/*.sh; do
echo "Exexcuting prerun script: $script"
chmod +x "$script"
"$script"
done
fi
exec start.sh