From 74ff18810f39c88cbae9981b60affc896d045ac3 Mon Sep 17 00:00:00 2001 From: Ryan Whytsell Date: Tue, 21 Oct 2025 19:48:31 -0400 Subject: [PATCH] Script dir different from web root --- start-production.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start-production.sh b/start-production.sh index 8c760e6..56843cf 100755 --- a/start-production.sh +++ b/start-production.sh @@ -20,10 +20,10 @@ NC='\033[0m' # No Color # Script directory WEB_ROOT="/var/www/vidrip" -SCRIPT_DIR="$WEB_ROOT" +SCRIPT_DIR=(pwd) +echo -e "$SCRIPT_DIR" rm -rf "$WEB_ROOT/*" -cp ./* "$WEB_ROOT" cd "$SCRIPT_DIR" # Configuration