- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
21 lines
622 B
Bash
21 lines
622 B
Bash
#!/bin/bash
|
|
|
|
# Ensure storage directories exist and have correct permissions
|
|
mkdir -p /var/www/html/storage/analytics \
|
|
/var/www/html/storage/logs \
|
|
/var/www/html/storage/cache \
|
|
/var/www/html/var/cache \
|
|
/var/www/html/var/logs \
|
|
/var/www/html/cache
|
|
|
|
# Set correct ownership and permissions for appuser
|
|
chown -R appuser:appuser /var/www/html/storage \
|
|
/var/www/html/var \
|
|
/var/www/html/cache
|
|
|
|
chmod -R 775 /var/www/html/storage \
|
|
/var/www/html/var \
|
|
/var/www/html/cache
|
|
|
|
exec "$@"
|