Remove MEMCACHED startup, since it is no longer included in the container
This commit is contained in:
parent
4e991db8b1
commit
fa989b8f10
@ -7,7 +7,6 @@ php=${PHP_DIR:-/app}
|
|||||||
composer=${COMPOSER_HOME:-/var/cache/composer}
|
composer=${COMPOSER_HOME:-/var/cache/composer}
|
||||||
|
|
||||||
SITE_USER=${SITE_USER:-www-data}
|
SITE_USER=${SITE_USER:-www-data}
|
||||||
MEMCACHED_START=${MEMCACHED_START:-FALSE}
|
|
||||||
RUN_USER=$(id -u)
|
RUN_USER=$(id -u)
|
||||||
[ "${RUN_USER}" = "0" ] && USE_SU=1
|
[ "${RUN_USER}" = "0" ] && USE_SU=1
|
||||||
|
|
||||||
@ -40,12 +39,6 @@ echo "* Started with [$@]"
|
|||||||
# Run any container setup
|
# Run any container setup
|
||||||
[ -x /sbin/init-container ] && /sbin/init-container
|
[ -x /sbin/init-container ] && /sbin/init-container
|
||||||
|
|
||||||
# General Setup
|
|
||||||
if [ -x /usr/bin/memcached -a "${MEMCACHED_START}" == "TRUE" ]; then
|
|
||||||
echo "* Starting MEMCACHED..."
|
|
||||||
/usr/bin/memcached -d -P /run/memcached/memcached.pid -u memcached
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Laravel Specific
|
# Laravel Specific
|
||||||
if [ -r artisan -a -e ${php}/.env ]; then
|
if [ -r artisan -a -e ${php}/.env ]; then
|
||||||
echo "* Laravel Setup..."
|
echo "* Laravel Setup..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user