Re: [squid-users] On/off switch for squid?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 24 Feb 2007 16:23:50 +0100

lör 2007-02-24 klockan 16:41 +0800 skrev Joel Bryan Juliano:

> I'm trying to do this because I have made a simple GUI for configuring
> squid on the system, there is a checkbutton to enable/disable squid
> and I'm looking for ways on how to hook with it. currently my approach
> is moving /etc/init.d/squid to /etc/squid-gui/squid.daemon which is
> very hackish. There must be a better way.

If your system have chkconfig then it's better to use

  chkconfig squid on/off

to specify if the service should be started on boot or not..

Regards
Henrik

Received on Sat Feb 24 2007 - 08:24:03 MST

This archive was generated by hypermail pre-2.1.9 : Thu Mar 01 2007 - 12:00:01 MST