[debian-edu-commits] debian-edu/ 01/02: cf/cf.squid: Reconfigure squid.
Wolfgang Schweer
schweer-guest at moszumanska.debian.org
Mon Aug 22 09:14:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
schweer-guest pushed a commit to branch master
in repository debian-edu-config.
commit 719194c8fc8edcd18f4e21e246c957d84cfdb1cb
Author: Wolfgang Schweer <wschweer at arcor.de>
Date: Mon Aug 22 11:05:00 2016 +0200
cf/cf.squid: Reconfigure squid.
This is needed if squid has already been started using the default
configuration; a cache dir isn't used in this case, storage uses memory.
The reconfiguration initializes the cache_dir.
---
cf/cf.squid | 4 ++++
debian/changelog | 3 +++
2 files changed, 7 insertions(+)
diff --git a/cf/cf.squid b/cf/cf.squid
index a292b2a..78bda2e 100644
--- a/cf/cf.squid
+++ b/cf/cf.squid
@@ -34,6 +34,10 @@ shellcommands:
debian.server::
+ # Reconfigure squid. This is needed if squid has already been started
+ # using the default configuration; a cache dir isn't used in this case,
+ # storage uses memory. The reconfiguration initializes the cache_dir.
+ "/usr/sbin/dpkg-reconfigure squid"
# Update Squid to use all the available space (aka 80% of the partition)
"/usr/share/debian-edu-config/tools/squid-update-cachedir /etc/squid/squid-debian-edu.conf"
# Migrate to squid3 when ugrading to jessie.
diff --git a/debian/changelog b/debian/changelog
index 15a2394..cd7fad6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,9 @@ debian-edu-config (1.909) UNRELEASED; urgency=medium
is used.
* cf/cf.ltsp: Move tftpd related code to debian.server|ltspserver just in
case a pure main server is used for installations via PXE.
+ * cf/cf.squid: Reconfigure squid. This is needed if squid has already been
+ started using the default configuration; a cache dir isn't used in this
+ case, storage uses memory. The reconfiguration initializes the cache_dir.
-- Holger Levsen <holger at debian.org> Fri, 19 Aug 2016 12:46:37 +0200
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git
More information about the debian-edu-commits
mailing list