Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if which apache2ctl; then
- echo "Se salta instalacion"
- else
- apt update && apt install apache2 -y
- fi
- sed -i "s|Clima por Coordenadas|$TITLE|" /var/www/html/index.html
- # recibe como argumento los parametros de 'CMD'
- # "apache2ctl", "-D", "FOREGROUND"
- exec "$@"
Advertisement
Add Comment
Please, Sign In to add comment