Re: Stopping Squid

From: Tim Villa <tvilla@dont-contact.us>
Date: Thu, 04 Nov 1999 08:16:20 +0800

> How can I stop and then restart the squid service? Using Squid
> 2.2.STABLE4 on RH Linux 5.1. Compiled from source.

Do a "squid -h" and you'll get the arguments you're looking for (view
this msg in a fixed width font or it'll look pretty awful):

Usage: squid [-dhsvzCDFNRVYX] [-f config-file] [-[au] port] [-k signal]
        -a port Specify HTTP port number (default: 3128).
        -d level Write debugging to stderr also.
        -f file Use given config-file instead of
                  /usr/local/squid/etc/squid.conf
        -h Print help message.
        -k reconfigure|rotate|shutdown|interrupt|kill|debug|check|parse
                  Parse configuration file, then send signal to
                  running copy (except -k parse) and exit.
        -s Enable logging to syslog.
        -u port Specify ICP port number (default: 3130), disable with 0.
        -v Print version.
        -z Create swap directories
        -C Do not catch fatal signals.
        -D Disable initial DNS tests.
        -F Foreground fast store rebuild.
        -N No daemon mode.
        -R Do not set REUSEADDR on port.
        -V Virtual host httpd-accelerator.
        -X Force full debugging.
        -Y Only return UDP_HIT or UDP_MISS_NOFETCH during fast reload.

Tim

--
Tim Villa, Network / Systems Administrator
Faculties of Economics & Commerce, Education and Law
The University of Western Australia
Phone: +61-8-9380-1796, Fax: +61-8-9380-1068
Mail <mailto:tim.villa@uwa.edu.au> WWW <http://buck.ecel.uwa.edu.au/>
Received on Wed Nov 03 1999 - 17:24:51 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:31 MDT