Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- set -e
- sed -i "s#\${PORT}#$PORT#g" /etc/apache2/ports.conf
- sed -i "s#\${PORT}#$PORT#g" /etc/apache2/sites-available/*.conf
- sed -i "s#\${APACHE_DOCUMENT_ROOT}#$APACHE_DOCUMENT_ROOT#g" /etc/apache2/sites-available/*.conf
- # Lancer Apache en mode foreground
- echo "🟢 Ready to start Apache..."
- exec "$@"
Advertisement
Add Comment
Please, Sign In to add comment