Advertisement
Sergio_Istea

entrypoint.sh

May 4th, 2021
125
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. set -e
  3.  
  4. rm /var/www/html/index.html
  5. cp /app/index.php /var/www/html
  6.  
  7. sed -i 's/default/'"$APACHE_SERVER_NAME"'/' /etc/apache2/sites-available/000-default.conf
  8.  
  9.  
  10. # Arranca el servicio mysql
  11.  
  12. /etc/init.d/mysql start
  13.  
  14. exec "$@"
  15.  
Advertisement
RAW Paste Data Copied
Advertisement