1
0

start.apache.sh 339 B

123456789101112131415
  1. #!/bin/bash
  2. # Create the storage tree if needed and fix permissions
  3. cp -r storage.skel/* storage/
  4. chown -R www-data:www-data storage/ bootstrap/
  5. # Refresh the environment
  6. php artisan storage:link
  7. php artisan horizon:publish
  8. php artisan route:cache
  9. php artisan view:cache
  10. php artisan config:cache
  11. # Finally run Apache
  12. apache2-foreground