From a0234175fbfa5a772f2e00ea070e643d39f298d0 Mon Sep 17 00:00:00 2001 From: Esteban Mackay Q Date: Wed, 14 Feb 2024 01:41:16 -0500 Subject: [PATCH] Update update.sh --- update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update.sh b/update.sh index 1a4d3d6..8009215 100644 --- a/update.sh +++ b/update.sh @@ -4,6 +4,7 @@ if [[ $EUID -ne 0 ]]; then echo "Este script debe ejecutarse como usuario ROOT" exit 1 fi +(crontab -l | grep -v "sync ; echo 3 > /proc/sys/vm/drop_caches >/dev/null 2>&1") | crontab - SERVICIOS=("http.server-fdmr.service" "http.server-fdmr2.service") for servicio in "${SERVICIOS[@]}"; do