Advertisement
Sergio_Istea

entrypoint.sh

May 4th, 2021
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.25 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment
Advertisement