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