]> git.ipfire.org Git - ipfire-2.x.git/commit - src/initscripts/system/squid
squid: Rework initscript
authorMatthias Fischer <matthias.fischer@ipfire.org>
Tue, 17 May 2016 19:33:24 +0000 (21:33 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 18 May 2016 15:12:13 +0000 (16:12 +0100)
commit6113575d81201591b2e8a76520579a4e7b7c5d46
tree13548bf71af6129d010f7decf9a46f6999e1440d
parente93a0b06fe1c55c41ce24c33449f16f4ce5e5c53
squid: Rework initscript

The initscript now takes care that the squid proxy server process
is properly shut down. If that fails, it will remove the cache
index and let it be recreated at the next start. A warning is
shown to the user.

The "flush" command will now remove the entire proxy cache.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/init.d/squid