aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/bin
diff options
context:
space:
mode:
authorJimmy Forsyth <jf2512@att.com>2019-08-22 15:28:22 -0400
committerJimmy Forsyth <jf2512@att.com>2019-08-22 15:28:25 -0400
commit46a43db79cd709a12c5f6f71acd1379a67061395 (patch)
treed68d5f341476aecd1840336865b3c8673743d797 /src/main/bin
parent34c72a4d56324182b2e1d6f6fbaa508ca0953d2f (diff)
Revert https://gerrit.onap.org/r/c/aai/gizmo/+/94138
Issue-ID: AAI-2177 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: Iaa26f3a1d9c082411bd50e36ec81af94f1e93cc1
Diffstat (limited to 'src/main/bin')
-rw-r--r--src/main/bin/start.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/bin/start.sh b/src/main/bin/start.sh
index 28cca96..d340c07 100644
--- a/src/main/bin/start.sh
+++ b/src/main/bin/start.sh
@@ -33,8 +33,5 @@ fi
JVM_MAX_HEAP=${MAX_HEAP:-1024}
set -x
-if [ -z "$RUN_MS_AS_ROOT" ] ; then
+
exec java -Xmx${JVM_MAX_HEAP}m $PROPS -jar ${APP_HOME}/gizmo.jar
-else
-exec sudo -E java -Xmx${JVM_MAX_HEAP}m $PROPS -jar ${APP_HOME}/gizmo.jar
-fi \ No newline at end of file