Allow initialization to run on FPM too (Fix #5)

This commit is contained in:
Michael Babker 2016-01-07 14:53:58 -05:00
parent 287ab57925
commit 772950ed9e
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
set -e
if [[ "$1" == apache2* ]]; then
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
if [ -n "$MYSQL_PORT_3306_TCP" ]; then
if [ -z "$JOOMLA_DB_HOST" ]; then
JOOMLA_DB_HOST='mysql'

View File

@ -2,7 +2,7 @@
set -e
if [[ "$1" == apache2* ]]; then
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
if [ -n "$MYSQL_PORT_3306_TCP" ]; then
if [ -z "$JOOMLA_DB_HOST" ]; then
JOOMLA_DB_HOST='mysql'

View File

@ -2,7 +2,7 @@
set -e
if [[ "$1" == apache2* ]]; then
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
if [ -n "$MYSQL_PORT_3306_TCP" ]; then
if [ -z "$JOOMLA_DB_HOST" ]; then
JOOMLA_DB_HOST='mysql'