diff options
Diffstat (limited to 'policy-pe')
-rw-r--r-- | policy-pe/do-start.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/policy-pe/do-start.sh b/policy-pe/do-start.sh index ab8e5a19..614ad1e8 100644 --- a/policy-pe/do-start.sh +++ b/policy-pe/do-start.sh @@ -28,7 +28,7 @@ if [[ -f /opt/app/policy/etc/build.info ]]; then echo "Found existing installation, will not reinstall" . /opt/app/policy/etc/profile.d/env.sh -else +else if [[ -d config ]]; then cp config/*.conf . fi @@ -44,10 +44,10 @@ else . /opt/app/policy/etc/profile.d/env.sh - # install keystore - #changed to use http instead of http, so keystore no longer needed - #cp config/policy-keystore.jks $POLICY_HOME/etc/ssl/policy-keystore - + # install policy keystore + mkdir -p $POLICY_HOME/etc/ssl + cp config/policy-keystore $POLICY_HOME/etc/ssl + if [[ -f config/$container-tweaks.sh ]] ; then # file may not be executable; running it as an # argument to bash avoids needing execute perms. |