Added /sbin/init-container execution if exists, for child images

This commit is contained in:
Deon George 2023-09-04 18:58:02 +10:00
parent d778b2599a
commit 4a1d0e8e56

View File

@ -31,6 +31,9 @@ function nginx_start() {
fi fi
} }
# Run any container setup
[ -x /sbin/init-container ] && /sbin/init-container
# General Setup # General Setup
if [ -x /usr/bin/memcached -a "${MEMCACHED_START}" == "TRUE" ]; then if [ -x /usr/bin/memcached -a "${MEMCACHED_START}" == "TRUE" ]; then
echo "* Starting MEMCACHED..." echo "* Starting MEMCACHED..."