Skip to content

Commit 5833218

Browse files
committed
Tweak entrypoint
1 parent 7924bbb commit 5833218

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

7.1-prod/entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if [ ! -z "$ENTRYPOINT" ] && [ -f "$ENTRYPOINT" ]; then
1616
bash $ENTRYPOINT
1717
fi
1818

19-
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ]; then
19+
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ; then
2020
exec "$@"
2121
else
2222
exec su-exec kool "$@"

7.1/entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [ ! -z "$ENTRYPOINT" ] && [ -f "$ENTRYPOINT" ]; then
2525
bash $ENTRYPOINT
2626
fi
2727

28-
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ]; then
28+
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ; then
2929
exec "$@"
3030
else
3131
exec su-exec kool "$@"

7.2-prod/entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if [ ! -z "$ENTRYPOINT" ] && [ -f "$ENTRYPOINT" ]; then
1616
bash $ENTRYPOINT
1717
fi
1818

19-
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ]; then
19+
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ; then
2020
exec "$@"
2121
else
2222
exec su-exec kool "$@"

7.2/entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [ ! -z "$ENTRYPOINT" ] && [ -f "$ENTRYPOINT" ]; then
2525
bash $ENTRYPOINT
2626
fi
2727

28-
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ]; then
28+
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ; then
2929
exec "$@"
3030
else
3131
exec su-exec kool "$@"

7.3-prod/entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if [ ! -z "$ENTRYPOINT" ] && [ -f "$ENTRYPOINT" ]; then
1616
bash $ENTRYPOINT
1717
fi
1818

19-
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ]; then
19+
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ; then
2020
exec "$@"
2121
else
2222
exec su-exec kool "$@"

7.3/entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [ ! -z "$ENTRYPOINT" ] && [ -f "$ENTRYPOINT" ]; then
2525
bash $ENTRYPOINT
2626
fi
2727

28-
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ]; then
28+
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ; then
2929
exec "$@"
3030
else
3131
exec su-exec kool "$@"

7.4-prod/entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if [ ! -z "$ENTRYPOINT" ] && [ -f "$ENTRYPOINT" ]; then
1616
bash $ENTRYPOINT
1717
fi
1818

19-
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ]; then
19+
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ; then
2020
exec "$@"
2121
else
2222
exec su-exec kool "$@"

7.4/entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [ ! -z "$ENTRYPOINT" ] && [ -f "$ENTRYPOINT" ]; then
2525
bash $ENTRYPOINT
2626
fi
2727

28-
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ]; then
28+
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] ; then
2929
exec "$@"
3030
else
3131
exec su-exec kool "$@"

template/entrypoint.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
bash $ENTRYPOINT
2828
fi
2929

30-
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] {!! $nginx ? '|| [ "$1" = "nginx" ] || [ "$1" = "supervisord"' : '' !!} ]; then
30+
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || [ "$1" = "php-fpm" ] {!! $nginx ? '|| [ "$1" = "nginx" ] || [ "$1" = "supervisord" ]' : '' !!}; then
3131
exec "$@"
3232
else
3333
exec su-exec kool "$@"

0 commit comments

Comments
 (0)