From 4c96185b5c8e1d35252b87631bd344a8cada6245 Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Mon, 2 Feb 2015 10:59:59 -0800 Subject: [PATCH] Issue #27: switch to using GEMSTONE_ETC_SECRET instead of GEMSTONE_ETC_DIRspecify name of file as well in env var --- bin/startGemServerGem | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/startGemServerGem b/bin/startGemServerGem index 3d59f06..9f41ef4 100755 --- a/bin/startGemServerGem +++ b/bin/startGemServerGem @@ -30,9 +30,9 @@ set -e # exit on error # # export GS_DEBUG_VMGC_PRINT_MKSW_MEMORY_USED=75 -secret=$GEMSTONE/seaside/etc/gemstone.secret -if [ "${GEMSTONE_ETC_DIR}x" = "x" ] ; then - secret=$GEMSTONE_ETC_DIR +secret=${GEMSTONE_ETC_SECRET} +if [ "${GEMSTONE_ETC_SECRET}x" = "x" ] ; then + secret=$GEMSTONE/seaside/etc/gemstone.secret fi if [ -s $secret ]; then