Code Review
/
appc
/
deployment.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Changes for cdt over https
[appc/deployment.git]
/
cdt
/
src
/
main
/
scripts
/
startCdt.sh
diff --git
a/cdt/src/main/scripts/startCdt.sh
b/cdt/src/main/scripts/startCdt.sh
index
1f7f38d
..
d371799
100644
(file)
--- a/
cdt/src/main/scripts/startCdt.sh
+++ b/
cdt/src/main/scripts/startCdt.sh
@@
-1,4
+1,4
@@
-#!/bin/
ba
sh
+#!/bin/sh
###
# ============LICENSE_START=======================================================
###
# ============LICENSE_START=======================================================
@@
-22,6
+22,6
@@
CDT_PORT=${CDT_PORT:-30232}
echo "Setting CDT port to $CDT_PORT"
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;'