]> git.ipfire.org Git - ipfire-3.x.git/blame - squid/patches/squid-3.1.0.9-location.patch
Move all packages to root.
[ipfire-3.x.git] / squid / patches / squid-3.1.0.9-location.patch
CommitLineData
d629ce07
CS
1diff -up squid-3.1.0.9/QUICKSTART.location squid-3.1.0.9/QUICKSTART
2--- squid-3.1.0.9/QUICKSTART.location 2009-06-26 12:35:27.000000000 +0200
3+++ squid-3.1.0.9/QUICKSTART 2009-07-17 14:03:10.000000000 +0200
4@@ -12,10 +12,9 @@ After you retrieved, compiled and instal
5 INSTALL in the same directory), you have to configure the squid.conf
6 file. This is the list of the values you *need* to change, because no
7 sensible defaults could be defined. Do not touch the other variables
8-for now. We assume you have installed Squid in the default location:
9-/usr/local/squid
10+for now.
11
12-Uncomment and edit the following lines in /usr/local/squid/etc/squid.conf:
13+Uncomment and edit the following lines in /etc/squid/squid.conf:
14
15 ==============================================================================
16
17@@ -56,7 +55,7 @@ cache_effective_user
18 Some configuration lines which are optional but may be needed.
19
20
21-cache_dir ufs /usr/local/squid/var/cache 100 16 256
22+cache_dir ufs /var/spool/squid 100 16 256
23
24 Add here (first number, here 100) the amount of hard disk space
25 (in megabytes) to devote to caching.
26@@ -84,12 +83,12 @@ After editing squid.conf to your liking,
27 line TWICE:
28
29 To create any disk cache_dir configured:
30- % /usr/local/squid/sbin/squid -z
31+ % /usr/sbin/squid -z
32
33 To start squid:
34- % /usr/local/squid/sbin/squid
35+ % /usr/sbin/squid
36
37-Check in the cache.log (/usr/local/squid/var/logs/cache.log) that
38+Check in the cache.log (/var/log/squid/cache.log) that
39 everything is all right.
40
41 Once Squid created all its files (it can take several minutes on some