package/squid: define the log directory, pidfile and swapdir
authorGuillaume GARDET <guillaume.gardet@oliseo.fr>
Tue, 18 Nov 2014 14:54:43 +0000 (15:54 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 23 Nov 2014 21:16:39 +0000 (22:16 +0100)
Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/squid/squid.mk

index e8a2ccc1aef3f078ef7bef26e5c68f7df353593c..ed51881d213804d17d5b83256dcf33ce73ce7fa0 100644 (file)
@@ -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)