From a634acd02e5c336cf0784385b927cdedc98ec652 Mon Sep 17 00:00:00 2001 From: lpoujol Date: Tue, 6 Aug 2019 10:41:29 +0200 Subject: [PATCH] =?UTF-8?q?Arr=C3=AAt=20rapide=20de=20squid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoSquid.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/HowtoSquid.md b/HowtoSquid.md index 2e5b23a7..53c60526 100644 --- a/HowtoSquid.md +++ b/HowtoSquid.md @@ -274,4 +274,15 @@ Extrait de logs : ~~~ Jun 29 15:08:30 foo kernel: [14743572.575111] IN= OUT=eth0 SRC=192.0.2.1 DST=192.0.2.2 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=51425 DF PROTO=TCP SPT=53175 DPT=80 WINDOW=29200 RES=0x00 SYN URGP=0 UID=1137 GID=1071 +~~~ + +### Arrêt rapide de squid + +Il suffit de jouer sur la directive `shutdown_lifetime`. Par défaut, la valeur est à 30 secondes. +Mais on peut ajuster la valeur comme on le souhaite. + +Pour un arrêt immédiat. On passera la valeur à 0. + +~~~ +shutdown_lifetime 0 seconds ~~~ \ No newline at end of file