Update README.md
This commit is contained in:
@@ -15,7 +15,7 @@ WGUI_LIB_DIR="/var/lib/wgui"
|
||||
WG_QUICK_HELPER="$WGUI_LIB_DIR/scripts/wg-quick-manage.sh"
|
||||
INSTALL_DIR="${INSTALL_DIR:-}"
|
||||
SERVICE_NAME="${SERVICE_NAME:-wgui}"
|
||||
REPO_URL="${REPO_URL:-}"
|
||||
REPO_URL="${REPO_URL:-https://git.tben.me/Moduletrace/wireguard-ui.git}"
|
||||
BRANCH="${BRANCH:-main}"
|
||||
BUN_INSTALL_DIR="${BUN_INSTALL_DIR:-/opt/bun}"
|
||||
BUN_VERSION="${BUN_VERSION:-1.3.14}"
|
||||
@@ -46,9 +46,6 @@ log "running the wg-ui service as root"
|
||||
if [ "$DEV_MODE" = true ]; then
|
||||
INSTALL_DIR="${INSTALL_DIR:-$REPO_ROOT}"
|
||||
log "NODE_ENV=development — using local repo at $INSTALL_DIR, skipping clone and system service installation (daemon is assumed to already be running)"
|
||||
elif [ -z "$REPO_URL" ]; then
|
||||
fail "REPO_URL is not set — pass the git URL of the wg-ui repo, e.g.
|
||||
REPO_URL=https://git.tben.me/Moduletrace/wireguard-ui.git $0"
|
||||
else
|
||||
INSTALL_DIR="${INSTALL_DIR:-$WGUI_LIB_DIR/webapp}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user