Skip to content

Commit

Permalink
GRP-2733: shibd.conf should only be in shib enabled containers
Browse files Browse the repository at this point in the history
  • Loading branch information
mchyzer committed May 2, 2020
1 parent 89000fb commit ca72b5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion container_files/usr-local-bin/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,13 @@ finishPrep() {
then
cat /opt/tier-support/supervisord-tomee.conf >> /opt/tier-support/supervisord.conf
fi


mv /etc/httpd/conf.d/shib.conf /etc/httpd/conf.d/shib.conf.dontuse
if [ "$RUN_SHIB_SP" = "true" ]
then
cat /opt/tier-support/supervisord-shibsp.conf >> /opt/tier-support/supervisord.conf
cp /opt/tier-support/httpd-shib.conf /etc/httpd/conf.d/
mv /etc/httpd/conf.d/shib.conf.dontuse /etc/httpd/conf.d/shib.conf
fi

# copy files to their appropriate locations based on passed in flags
Expand Down

0 comments on commit ca72b5b

Please sign in to comment.