summaryrefslogtreecommitdiff
path: root/package/squid
diff options
context:
space:
mode:
authorGuillaume GARDET <guillaume.gardet@oliseo.fr>2014-11-18 15:54:43 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-23 22:16:39 +0100
commitd29eb641d3e50e734496ddb2db4aed4e7d63cfbd (patch)
tree86a85a7286982e4adc8b5b52f68aa1ebad424d1d /package/squid
parentf898daf3a17cf8d7860c23e928d55ac5957ea609 (diff)
package/squid: define the log directory, pidfile and swapdir
Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/squid')
-rw-r--r--package/squid/squid.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/squid/squid.mk b/package/squid/squid.mk
index e8a2ccc1a..ed51881d2 100644
--- a/package/squid/squid.mk
+++ b/package/squid/squid.mk
@@ -26,7 +26,10 @@ SQUID_CONF_OPTS = --enable-async-io=8 --enable-linux-netfilter \
--enable-auth-negotiate="wrapper" \
--enable-auth-ntlm="fake" \
--disable-strict-error-checking \
- --enable-external-acl-helpers="file_userip"
+ --enable-external-acl-helpers="file_userip" \
+ --with-logdir=/var/log/squid/ \
+ --with-pidfile=/var/run/squid.pid \
+ --with-swapdir=/var/cache/squid/
# On uClibc librt needs libpthread
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)$(BR2_TOOLCHAIN_USES_UCLIBC),yy)