PHP 8.3.31
Preview: start-container Size: 558 B
/home/getspomw/royalsquad.us/vendor/laravel/sail/runtimes/8.3/start-container

#!/usr/bin/env bash

if [ "$SUPERVISOR_PHP_USER" != "root" ] && [ "$SUPERVISOR_PHP_USER" != "sail" ]; then
    echo "You should set SUPERVISOR_PHP_USER to either 'sail' or 'root'."
    exit 1
fi

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
    if [ "$SUPERVISOR_PHP_USER" = "root" ]; then
        exec "$@"
    else
        exec gosu $WWWUSER "$@"
    fi
else
    exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
fi

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
3.46 KB lrw-rw-rw- 2025-09-17 06:52:54
Edit Download
97 B lrw-rw-rw- 2025-09-17 06:52:54
Edit Download
558 B lrw-rw-rw- 2025-09-17 06:52:54
Edit Download
337 B lrw-rw-rw- 2025-09-17 06:52:54
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).