Skip to content

Commit

Permalink
adding some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
JaimeMagiera committed Oct 30, 2020
1 parent 2de4ad8 commit a471e7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prod/prod-app/httpd-pre-init/customize-apache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ sed -i 's#/opt/rh/httpd24/root/var/www/cgi-bin#/opt/app-root/src/cgi-bin#g' /etc
# Check for the DATA_DIR environment variable. If it exists, set an httpd environment variable with that value. This is the path where the data files with be written to.
if [[ -v DATA_DIR ]]; then
echo "SetEnv DATA_DIR ${DATA_DIR}" >> /etc/httpd/conf/httpd.conf
else
echo "No DATA_DIR defined."
fi

0 comments on commit a471e7d

Please sign in to comment.