From 798580be5af082a345c67d3f53d342af71431680 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Mon, 29 Sep 2025 17:58:58 +0800 Subject: [PATCH] Update entrypoint.sh --- docker/entrypoint.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index b64e5595..c380bfc5 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -83,6 +83,8 @@ ensure_installation() { mkdir -p /data/db fi + mkdir "${WGDASH}/src/log" + if [ ! -d "${WGDASH}/src/db" ]; then ln -s /data/db "${WGDASH}/src/db" fi @@ -100,8 +102,7 @@ ensure_installation() { . "${WGDASH}/src/venv/bin/activate" # Use the bash interpreter to install WGDashboard according to the wgd.sh script. - /bin/bash ./wgd.sh install - + # /bin/bash ./wgd.sh install echo "Looks like the installation succeeded. Moving on." # Setup WireGuard if needed @@ -221,4 +222,4 @@ start_and_monitor() { # Main execution flow ensure_installation set_envvars -start_and_monitor +start_and_monitor \ No newline at end of file