start.sh 204 B

1234567891011121314
  1. #!/bin/bash
  2. # Set timezone
  3. TIME_ZONE=$(cat /etc/timezone)
  4. export TZ="${TIME_ZONE}"
  5. # Env variables
  6. /usr/bin/printenv > /var/www/.env
  7. # PHP service
  8. /etc/init.d/php7.4-fpm start
  9. # Nginx
  10. /usr/sbin/nginx