From d45430c07ff9392b197371fce571524b9cf0262e Mon Sep 17 00:00:00 2001 From: Ryan Whytsell Date: Tue, 21 Oct 2025 16:00:52 -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 2a44a41..ce46130 100755 --- a/start-production.sh +++ b/start-production.sh @@ -44,10 +44,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 -r ./* "$WEB_ROOT" cd "$SCRIPT_DIR" # Configuration