try to crash less if GID is already in use, see #896
This commit is contained in:
parent
120a5273e5
commit
4e6481d311
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
groupadd -g $GID shimmie
|
groupadd -g $GID shimmie || true
|
||||||
useradd -ms /bin/bash -u $UID -g $GID shimmie
|
useradd -ms /bin/bash -u $UID -g $GID shimmie
|
||||||
mkdir /app/data
|
mkdir -p /app/data
|
||||||
chown shimmie:shimmie /app/data
|
chown $UID:$GID /app/data
|
||||||
export PHP_CLI_SERVER_WORKERS=8
|
export PHP_CLI_SERVER_WORKERS=8
|
||||||
exec /usr/local/bin/su-exec shimmie:shimmie \
|
exec /usr/local/bin/su-exec shimmie:shimmie \
|
||||||
/usr/bin/php \
|
/usr/bin/php \
|
||||||
|
|
Reference in a new issue