diff --git a/console/commands/exec.sh b/console/commands/exec.sh index 88ef3ba..a09bc8e 100755 --- a/console/commands/exec.sh +++ b/console/commands/exec.sh @@ -18,6 +18,13 @@ if [ "$#" == 0 ] || [ "$1" == "--help" ]; then exit 0 fi +if [[ "$1" == "--container" || "$1" == "-c" ]]; then + shift + SERVICE_PHP=$1 + shift +fi + + : ${EXEC_OPTIONS:=""} if [ ${TTY_DISABLE} == true ]; then