aboutsummaryrefslogtreecommitdiffstats
path: root/cdt/src/main/scripts/startCdt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cdt/src/main/scripts/startCdt.sh')
-rw-r--r--cdt/src/main/scripts/startCdt.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/cdt/src/main/scripts/startCdt.sh b/cdt/src/main/scripts/startCdt.sh
index 1f7f38d..d371799 100644
--- a/cdt/src/main/scripts/startCdt.sh
+++ b/cdt/src/main/scripts/startCdt.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
###
# ============LICENSE_START=======================================================
@@ -22,6 +22,6 @@
CDT_PORT=${CDT_PORT:-30232}
echo "Setting CDT port to $CDT_PORT"
-sed -i -e "s/30290/$CDT_PORT/" /usr/local/apache2/htdocs/main.bundle.js
+sed -i -e "s/30290/$CDT_PORT/" /opt/cdt/main.bundle.js
-exec /usr/local/bin/httpd-foreground \ No newline at end of file
+exec /usr/sbin/nginx -g 'daemon off;'