From 4061f2067c56342fa0a532b7a8ab7fa7181df492 Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Mon, 20 Jul 2026 07:51:56 +0200 Subject: [PATCH] fix(installer): fixes install path --- deploy/install-client.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/install-client.sh b/deploy/install-client.sh index e3018ba..bd389f6 100755 --- a/deploy/install-client.sh +++ b/deploy/install-client.sh @@ -2,8 +2,8 @@ set -euo pipefail # ── Defaults ────────────────────────────────────────────────────────────────── -DEFAULT_INSTALL_DIR="/opt/reversellama-client" -DEFAULT_SERVICE_NAME="reversellama-client" +DEFAULT_INSTALL_DIR="/opt/ngino-client" +DEFAULT_SERVICE_NAME="ngino-client" DEFAULT_UPSTREAM="http://localhost:11434" SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" @@ -239,7 +239,7 @@ case "$ARCH" in esac info "Building ReverseLlama client (self-contained, $DOTNET_RID)..." -BUILD_DIR="$(mktemp -d /tmp/reversellama-build.XXXXXX)" +BUILD_DIR="$(mktemp -d /tmp/ngino-build.XXXXXX)" trap 'rm -rf "$BUILD_DIR"' EXIT "$DOTNET_CMD" publish "$CLIENT_SRC/ReverseLlama.Client.csproj" \ @@ -263,7 +263,7 @@ chmod +x "$INSTALL_DIR/ReverseLlama.Client" info "Client installed to $INSTALL_DIR." # ── Write environment file (avoids shell injection in unit file) ───────────── -ENV_DIR="/etc/reversellama-client" +ENV_DIR="/etc/ngino-client" mkdir -p "$ENV_DIR" printf 'REVERSE_LLAMA_TOKEN=%s\n' "$TOKEN" > "$ENV_DIR/env" chmod 600 "$ENV_DIR/env"