#!/bin/sh -x # shibboleth-identity-provider source dir cd /opt/shibboleth-identity-provider-${IDP_VERSION} case "$*" in start) # Upgrade/Recreate war ./bin/install.sh -Didp.src.dir /opt/shibboleth-identity-provider-${IDP_VERSION}/ -Didp.target.dir /opt/shibboleth-idp # Set Jetty tls cert password sed -i "/jetty.keystore.password=/c\jetty.keystore.password=$PKCS12_PASSWORD" /opt/jetty/modules/ssl.mod # Start Jetty cd /opt/jetty/ && /usr/bin/java -jar start.jar ;; install) # Fresh install cat>/tmp/entity_id<