Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37848134
en ru br
ALT Linux repos
S:6.3-alt1
5.0: 3.0.STABLE15-alt0.M50.1
4.1: 3.0.STABLE15-alt0.M41.1
4.0: 3.0.STABLE15-alt0.M40.1
3.0: 2.5.STABLE11-alt2

Group :: System/Servers
RPM: squid

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: squid-3.1.7-default-logrotate-alt.patch
Download


diff --git a/squid/src/cf.data.pre b/squid/src/cf.data.pre
index 442447a..2b548ca 100644
--- a/squid/src/cf.data.pre
+++ b/squid/src/cf.data.pre
@@ -2722,9 +2722,13 @@ DOC_END
 
 NAME: logfile_rotate
 TYPE: int
-DEFAULT: 10
+DEFAULT: 0
 LOC: Config.Log.rotateNumber
 DOC_START
+	ALT Linux is using the logrotate mechanism and therefore the
+	rotation is done externaly, which means a default of 0 is
+	required and therefore set. Modify /etc/logrotate.d/squid instead.
+
 	Specifies the number of logfile rotations to make when you
 	type 'squid -k rotate'. The default is 10, which will rotate
 	with extensions 0 through 9. Setting logfile_rotate to 0 will
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin