On 2/24/07, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote:> lör 2007-02-24 klockan 09:51 +0800 skrev Joel Bryan Juliano:>> > Is there a way to turn off and on squid by just editing the> > configuration files?>> No, but by stopping/starting the service.>> stop: /usr/local/sbin/squid -k shutdown>> start: /usr/local/sbin/squid>> or alternatively depending on OS integration being done>> service squid stop> service squid start>> /etc/init.d/squid stop> /etc/init.d/squid start>> or similar..>> Regards> Henrik>> I'm trying to do this because I have made a simple GUI for configuringsquid on the system, there is a checkbutton to enable/disable squidand I'm looking for ways on how to hook with it. currently my approachis moving /etc/init.d/squid to /etc/squid-gui/squid.daemon which isvery hackish. There must be a better way. -- "I use to fuel my car with water, now I switched back to gasolinebecause my cigarette lighter doesn't work" - People who use Linux butswitched back to Windows.