Deleting all apps apart from those used in Ch1 and Ch2 labs

This commit is contained in:
Ravi Srinivasan
2019-06-07 12:51:10 +05:30
parent 9853abc4ac
commit a387a34d24
213 changed files with 0 additions and 6502 deletions

View File

@@ -1,41 +0,0 @@
#!/bin/bash
set -e
source ${HTTPD_CONTAINER_SCRIPTS_PATH}/common.sh
echo "---> Enabling s2i support in httpd24 image"
config_s2i
######## CUSTOMIZATION STARTS HERE ############
echo "---> Installing application source"
cp -Rf /tmp/src/*.html ./
DATE=`date "+%b %d, %Y @ %H:%M %p"`
echo "---> Creating info page"
echo "Page built on $DATE" >> ./info.html
echo "Proudly served by Apache HTTP Server version $HTTPD_VERSION" >> ./info.html
######## CUSTOMIZATION ENDS HERE ############
if [ -d ./httpd-cfg ]; then
echo "---> Copying httpd configuration files..."
if [ "$(ls -A ./httpd-cfg/*.conf)" ]; then
cp -v ./httpd-cfg/*.conf "${HTTPD_CONFIGURATION_PATH}"
rm -rf ./httpd-cfg
fi
else
if [ -d ./cfg ]; then
echo "---> Copying httpd configuration files from deprecated './cfg' directory, use './httpd-cfg' instead..."
if [ "$(ls -A ./cfg/*.conf)" ]; then
cp -v ./cfg/*.conf "${HTTPD_CONFIGURATION_PATH}"
rm -rf ./cfg
fi
fi
fi
# Fix source directory permissions
fix-permissions ./

View File

@@ -1,8 +0,0 @@
#!/bin/bash
source ${HTTPD_CONTAINER_SCRIPTS_PATH}/common.sh
export HTTPD_RUN_BY_S2I=1
# Make Apache show 'debug' level logs during start up
run-httpd -e debug $@

View File

@@ -1 +0,0 @@
Hello Class! DO288 rocks!!!