aboutsummaryrefslogtreecommitdiff
path: root/docker/debian-dev/bootstrap/start/code-server.bash
diff options
context:
space:
mode:
Diffstat (limited to 'docker/debian-dev/bootstrap/start/code-server.bash')
-rwxr-xr-xdocker/debian-dev/bootstrap/start/code-server.bash18
1 files changed, 0 insertions, 18 deletions
diff --git a/docker/debian-dev/bootstrap/start/code-server.bash b/docker/debian-dev/bootstrap/start/code-server.bash
deleted file mode 100755
index 7dfc0e9..0000000
--- a/docker/debian-dev/bootstrap/start/code-server.bash
+++ /dev/null
@@ -1,18 +0,0 @@
-#! /usr/bin/env bash
-
-export CODE_SERVER_CONFIG="/data/code-server-config.yaml"
-
-CODE_SERVER_PROGRAM=code-server
-CODE_SERVER_PORT=8080
-
-if which "$CODE_SERVER_PROGRAM" > /dev/null 2>&1; then
- if ! pgrep -x "$CODE_SERVER_PROGRAM" > /dev/null 2>&1; then
- echo "code-server is not running, starting..."
- "$CODE_SERVER_PROGRAM" "--bind-addr" "0.0.0.0:$CODE_SERVER_PORT"
- else
- echo "code-server is already running."
- fi
-else
- echo "code-server not found, skipping code-server setup." >&2
- exit 1
-fi