ln auth added

This commit is contained in:
Benjamin Takats
2022-12-01 19:44:29 +01:00
parent 9aae2f1a3f
commit 645599b7c6
27 changed files with 882 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
if [ ! -z "$WWWUSER" ]; then
usermod -u $WWWUSER sail
fi
if [ ! -d /.composer ]; then
mkdir /.composer
fi
chmod -R ugo+rw /.composer
if [ $# -gt 0 ]; then
exec gosu $WWWUSER "$@"
else
exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
fi