summaryrefslogtreecommitdiffstats
path: root/auth/sample/bin/service.sh
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-10-10 18:51:33 -0500
committerInstrumental <jonathan.gathman@att.com>2018-10-10 18:51:37 -0500
commit5451a509e10530c62c8939f0bbdb294f3e6c7286 (patch)
treea309553fe3d58b5379783d83c4e914fab1b32ec1 /auth/sample/bin/service.sh
parent5ed77b98dbe9107431d2dfd61d331f78b009503b (diff)
OOM updates
Issue-ID: AAF-539 Change-Id: Ie169661ac36e9ecbc0dc56c7d71191be5e649b7b Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/sample/bin/service.sh')
-rw-r--r--auth/sample/bin/service.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/auth/sample/bin/service.sh b/auth/sample/bin/service.sh
index f261c18e..b6121ead 100644
--- a/auth/sample/bin/service.sh
+++ b/auth/sample/bin/service.sh
@@ -7,6 +7,10 @@ LOCAL=/opt/app/osaaf/local
DATA=/opt/app/osaaf/data
PUBLIC=/opt/app/osaaf/public
CONFIG=/opt/app/aaf_config
+
+# If doesn't exist... still create
+mkdir -p /opt/app/osaaf
+
# Temp use for clarity of code
FILE=
@@ -85,7 +89,8 @@ if [ ! -e $LOCAL/org.osaaf.aaf.props ]; then
echo cadi_longitude=${LONGITUDE} >> ${TMP}
echo cadi_x509_issuers=${CADI_X509_ISSUERS} >> ${TMP}
echo aaf_register_as=${AAF_REGISTER_AS} >> ${TMP}
- echo aaf_locate_url=https://${AAF_REGISTER_AS}:8095 >> ${TMP}
+ LOCATOR_AS=${LOCATOR:=AAF_REGISTER_AS}
+ echo aaf_locate_url=https://${AAF_LOCATOR_AS}:8095 >> ${TMP}
cat $TMP