From 2d669ffac6a29c49872fe83d3111c0e140d93695 Mon Sep 17 00:00:00 2001 From: Ryan Whytsell Date: Tue, 21 Oct 2025 15:54:27 -0400 Subject: [PATCH] Clean and refresh web root --- start-production.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/start-production.sh b/start-production.sh index 3c401ce..63c0e2c 100755 --- a/start-production.sh +++ b/start-production.sh @@ -45,6 +45,9 @@ NC='\033[0m' # No Color # Script directory WEB_ROOT="/var/www/vidrip" SCRIPT_DIR="$WEB_ROOT" + +rm -rf "$WEB_ROOT/*" +cp ./* "$WEB_ROOT" cd "$SCRIPT_DIR" # Configuration