On Fri, 2003-02-21 at 08:40, Kean Johnston wrote:
> Hi everyone,
>
> I am sure, in antiquity, there was a reason for this, but
> it has long bothered me that Squid doesn't automatically
> disassociate itself and go into the background. Using
> nohup on the RunCache script is a hack. For UNIX platforms
> at any rate, it is very easy to send a process into the
> background. That and a nice squidctl program to start, stop
> and query the running status of the daemon would be a
> really nice thing to have. Anyone object if I make it so?
It is so:
$ squid
will start squid, fork into the background and write the pid to a file.
$ squid -k reconfigure
will restart it
$ squid -k shutdown
will stop it,
and so forth.
Rob
-- GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:16 MST