Skip to content

Commit 8f6282b

Browse files
committed
wrap in bash for proper working directory
Signed-off-by: Eric Nemchik <eric@nemchik.com>
1 parent cf98e4f commit 8f6282b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

root/usr/bin/console

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/with-contenv bash
22
# shellcheck shell=bash
33

4-
cd /app/www || exit 1
5-
s6-setuidgid abc php -d memory_limit=-1 bin/console "$*"
4+
s6-setuidgid abc cd /app/www /bin/bash -c "php -d memory_limit=-1 bin/console $*"

0 commit comments

Comments
 (0)