Blame view
docker/8.0/start-container
296 Bytes
995960380 Исправления офисо... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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 |