From b1a333ea4d9139aade291f434c73fc3a2ba4132e Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 19 Jul 2021 00:48:50 +1000 Subject: [PATCH] Use bash instead of sh --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init b/init index 5e41ef7..7829727 100755 --- a/init +++ b/init @@ -137,7 +137,7 @@ if [ "${role}" = "app" -a -e artisan ]; then fi set +e - [ -x init-php.sh ] && su www-data -s /bin/sh "init-php.sh" & + [ -x init-php.sh ] && su www-data -s /bin/bash "init-php.sh" & exec /usr/local/bin/docker-php-entrypoint "$@"