mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-02 23:43:36 +00:00
20
rootfs/usr/local/bin/entrypoint.sh
Executable file
20
rootfs/usr/local/bin/entrypoint.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd / || exit
|
||||
|
||||
for patch in /data/etc/prerun/patches/*.patch; do
|
||||
[ -e "$patch" ] || break
|
||||
echo "Applying prerun patch using patch -p1: $patch"
|
||||
patch -p1 <"$patch"
|
||||
done
|
||||
|
||||
for script in /data/etc/prerun/scripts/*.sh; do
|
||||
[ -e "$patch" ] || break
|
||||
echo "Exexcuting prerun script: $script"
|
||||
chmod +x "$script"
|
||||
"$script"
|
||||
done
|
||||
|
||||
cd /app || exit
|
||||
|
||||
start.sh
|
Reference in New Issue
Block a user