Skip to content

Commit

Permalink
update path for supervisord
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing committed Mar 17, 2020
1 parent c9bdc7e commit 874e560
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
20 changes: 20 additions & 0 deletions container_files/usr-local-bin/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,23 @@ prepConf() {
prepUIConf
prepWSConf
}

if [ "$RUN_APACHE" = "true" ]
then
cat /opt/tier-support/supervisord-httpd.conf >> /opt/tier-support/supervisord-base.conf
fi


if [ "$RUN_TOMEE" = "true" ]
then
cat /opt/tier-support/supervisord-tomee.conf >> /opt/tier-support/supervisord-base.conf
fi

if [ "$RUN_SHIB_SP" = "true" ]
then
cat /opt/tier-support/supervisord-shibsp.conf >> /opt/tier-support/supervisord-base.conf
fi


cat /opt/tier-support/supervisord-base.conf > /opt/tier-support/supervisord.conf

2 changes: 1 addition & 1 deletion container_files/usr-local-bin/scim
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

prepSCIM

exec /usr/bin/supervisord -c /opt/tier-support/supervisord-tomee.conf
exec /usr/bin/supervisord -c /opt/tier-support/supervisord.conf
2 changes: 1 addition & 1 deletion container_files/usr-local-bin/ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ prepUI

export LD_LIBRARY_PATH=/opt/shibboleth/lib64:$LD_LIBRARY_PATH

exec /usr/bin/supervisord -c /opt/tier-support/supervisord-tomee.conf
exec /usr/bin/supervisord -c /opt/tier-support/supervisord.conf
2 changes: 1 addition & 1 deletion container_files/usr-local-bin/ui-ws
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ prepWS

export LD_LIBRARY_PATH=/opt/shibboleth/lib64:$LD_LIBRARY_PATH

exec /usr/bin/supervisord -c /opt/tier-support/supervisord-tomee.conf
exec /usr/bin/supervisord -c /opt/tier-support/supervisord.conf
2 changes: 1 addition & 1 deletion container_files/usr-local-bin/ws
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

prepWS

exec /usr/bin/supervisord -c /opt/tier-support/supervisord-tomee.conf
exec /usr/bin/supervisord -c /opt/tier-support/supervisord.conf

0 comments on commit 874e560

Please sign in to comment.