X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cdt%2Fsrc%2Fmain%2Fscripts%2FstartCdt.sh;h=d371799f60100d48cb3b217afebefadab9aefc11;hb=365efba8eed6ba3dbc7f7c50c2bd93312da2a162;hp=1f7f38d2f20d390fc3587acc7a4cd11fb13b0624;hpb=78e9b949505245ad8efcdc319107039e333da573;p=appc%2Fdeployment.git 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;'