Koozali.org: home of the SME Server

Modify squid.conf SME

Modify squid.conf SME
« on: June 14, 2008, 03:56:51 PM »
Hi, I use SME 7.3.
I've tried modify the squid.conf, but it says a message "DO NOT MODIFY THIS FILE manual changes will be lost when this file is regenerated."
How can i modify this file without automatic regeneration on shutdown or restart ??

Thanks,




 
« Last Edit: June 14, 2008, 04:21:58 PM by marciodocoral »

Offline e[nt]e

  • *
  • 172
  • +0/-0
Re: Modify squid.conf SME
« Reply #1 on: June 14, 2008, 05:12:38 PM »
Hey,

read this chapter of the developers manual carefully.
http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual#Configuration_file_templates

The templates for the squid.conf are located at
/etc/e-smith/templates/etc/squid/squid.conf/
But don't modify these template fragments. Instead create a new file (as described in the manual) under
/etc/e-smith/templates-custom/etc/squid/squid.conf/
1984 wasn't meant to be a manual.

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: Modify squid.conf SME
« Reply #2 on: June 15, 2008, 05:09:44 AM »
And here's a wiki article that describes some modifications: http://wiki.contribs.org/Squid

If you learn more than you see in the wiki article, get a wiki account and update the article  8-)

Re: Modify squid.conf SME
« Reply #3 on: June 16, 2008, 07:51:32 PM »
Thank you guys it really helped me  :)