diff options
Diffstat (limited to 'apache-sp/entrypoint.sh')
-rw-r--r-- | apache-sp/entrypoint.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apache-sp/entrypoint.sh b/apache-sp/entrypoint.sh index 156b5ac..34589e3 100644 --- a/apache-sp/entrypoint.sh +++ b/apache-sp/entrypoint.sh @@ -29,7 +29,13 @@ if [ ! -f "$KEYDIR/private/${SP_HOSTNAME}.key" -o ! -f "$KEYDIR/certs/${SP_HOSTN fi # Fetch metadata -curl http://shibboleth-docker:8080/idp/shibboleth -o /var/www/metadata.xml +if [ -z "$SKIP_METADATA" ]; then + until curl http://shibboleth-docker:8080/idp/shibboleth -o /var/www/metadata.xml + do + sleep 5 + done +fi + chown -R www-data:www-data /var/www/ chmod -R a+r /var/www/ |