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