From 61abb269e490c86c16139f9c808d254fb002a74a Mon Sep 17 00:00:00 2001 From: afornerot Date: Mon, 19 Oct 2020 10:44:16 +0200 Subject: [PATCH] =?UTF-8?q?mise=20=C3=A0=20niveau=20log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ninegate-1.0/scripts/ninegate-postservice-01.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ninegate-1.0/scripts/ninegate-postservice-01.sh b/src/ninegate-1.0/scripts/ninegate-postservice-01.sh index aacb36b4..b0caf6ed 100755 --- a/src/ninegate-1.0/scripts/ninegate-postservice-01.sh +++ b/src/ninegate-1.0/scripts/ninegate-postservice-01.sh @@ -28,6 +28,9 @@ else fi fi +# Suppression des logs trop ancien +find var/logs -mindepth 1 -mtime +7 -delete + # Installation des dépendances composer echo COMPOSER = Install composer install --quiet