aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-01 21:11:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-01 21:11:26 +0000
commit56a261aba5c4cb20c317a410fb39ea648479dc5a (patch)
treeb0b165e579d79e31c7017fc81edd0737977fd766 /packages/squid.inc
parent61853db8d68cc49d3f32856ecc48026a66741261 (diff)
downloadpfsense-packages-56a261aba5c4cb20c317a410fb39ea648479dc5a.tar.gz
pfsense-packages-56a261aba5c4cb20c317a410fb39ea648479dc5a.tar.bz2
pfsense-packages-56a261aba5c4cb20c317a410fb39ea648479dc5a.zip
Log when we run squid -z
Diffstat (limited to 'packages/squid.inc')
-rw-r--r--packages/squid.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/squid.inc b/packages/squid.inc
index ccd4caf5..563620e9 100644
--- a/packages/squid.inc
+++ b/packages/squid.inc
@@ -649,8 +649,10 @@ function squid_resync() {
file_put_contents(SQUID_CONFBASE . '/squid.conf', $conf);
- if(!is_dir("/var/squid/cache"))
+ if(!is_dir("/var/squid/cache")) {
+ log_error("/var/squid/cache does not exist. Creating.");
exec("/usr/local/sbin/squid -z");
+ }
restart_service('squid');