justest commited on
Commit
e41bdbc
1 Parent(s): 9204da6

Update start_server.sh

Browse files
Files changed (1) hide show
  1. start_server.sh +2 -2
start_server.sh CHANGED
@@ -13,7 +13,7 @@ echo "${NGX_NAME}:${CRYPTPASS}" > ngpasswd
13
  COMMIT=$(cat /app/openvscode-server/product.json | awk '/commit/{print $4;exit}' FS='[""]')
14
  sed -i "s/#COMMIT#/$COMMIT/" nginx.conf
15
  sed -i "s/#PORT#/$PORT/" nginx.conf
16
-
17
  set +e
18
  if [[ ! -z "$REPOS" ]]; then
19
  for REPO in $(echo $REPOS | tr ";" "\n")
@@ -53,5 +53,5 @@ ln -s $vscode_cli $(dirname $vscode_cli)/code
53
  tslab install --prefix /home/user/miniconda/
54
  set -e
55
  pm2 start ./auto-commit.js
56
- nginx -c $PWD/nginx.conf
57
  exec $vscode --host 0.0.0.0 --port 5050 --without-connection-token \"${@}\" --
 
13
  COMMIT=$(cat /app/openvscode-server/product.json | awk '/commit/{print $4;exit}' FS='[""]')
14
  sed -i "s/#COMMIT#/$COMMIT/" nginx.conf
15
  sed -i "s/#PORT#/$PORT/" nginx.conf
16
+ nginx -c $PWD/nginx.conf
17
  set +e
18
  if [[ ! -z "$REPOS" ]]; then
19
  for REPO in $(echo $REPOS | tr ";" "\n")
 
53
  tslab install --prefix /home/user/miniconda/
54
  set -e
55
  pm2 start ./auto-commit.js
56
+
57
  exec $vscode --host 0.0.0.0 --port 5050 --without-connection-token \"${@}\" --