• File: start-container
  • Full Path: /home/masbinta/public_html/core/vendor/laravel/sail/runtimes/7.4/start-container
  • File size: 291 bytes
  • MIME-type: text/x-shellscript
  • Charset: utf-8
#!/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
    /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
fi