aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-debian-dev/bootstrap/bash-profile/code-server.bash
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-08-14 00:28:12 +0800
committercrupest <crupest@outlook.com>2024-08-14 11:28:11 +0800
commite272d8667a64852452a076d180149a975e52a109 (patch)
tree027ac0f97891993b1deac6569d7b26730378ddf6 /docker/crupest-debian-dev/bootstrap/bash-profile/code-server.bash
parent4ffd7559a226d74c3560d95174a5576d4ac17ef5 (diff)
downloadcrupest-e272d8667a64852452a076d180149a975e52a109.tar.gz
crupest-e272d8667a64852452a076d180149a975e52a109.tar.bz2
crupest-e272d8667a64852452a076d180149a975e52a109.zip
feat(docker/debian-dev): add more output, rename vars and fix some bugs.
Diffstat (limited to 'docker/crupest-debian-dev/bootstrap/bash-profile/code-server.bash')
-rw-r--r--docker/crupest-debian-dev/bootstrap/bash-profile/code-server.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/crupest-debian-dev/bootstrap/bash-profile/code-server.bash b/docker/crupest-debian-dev/bootstrap/bash-profile/code-server.bash
index 443eb0b..e683e76 100644
--- a/docker/crupest-debian-dev/bootstrap/bash-profile/code-server.bash
+++ b/docker/crupest-debian-dev/bootstrap/bash-profile/code-server.bash
@@ -6,7 +6,7 @@ CODE_SERVER_PORT=8080
if which "$CODE_SERVER_PROGRAM" > /dev/null 2>&1; then
if ! pgrep -f "$CODE_SERVER_PROGRAM" > /dev/null 2>&1; then
mkdir -p ~/.local/share/code-server
- nohup "$CODE_SERVER_PROGRAM" "--bind-addr", "0.0.0.0:$CODE_SERVER_PORT" \
+ "$CODE_SERVER_PROGRAM" "--bind-addr", "0.0.0.0:$CODE_SERVER_PORT" \
> ~/.local/share/code-server/log 2> ~/.local/share/code-server/error &
fi
fi