Search squid archive

Re: moving cache dirs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi,
>
> Is it possible to move the cache directories "down one level"? eg
>
> mv /var/cache/squid/cache1/{[0-9]*,swap.state}
> /var/cache/squid/cache1/cache_a
>
> Obviously squid isn't running and cache_dir will be corrected.
>
> Colin
> --
> Colin Campbell
> Unix Support/Postmaster/Hostmaster
> Citec
> +61 7 3227 6334
>

Yes. As long as you change the cache_dir directive in the conf file to
point at the new directory and ensure squid has access to new directory
(owner/group/perms etc)

at least it works for me :)
#cache_dir aufs /var/squid/cache 1000 16 256
cache_dir aufs /var/squid/cache/new_dir 1000 16 256

Cheers
Pete



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux