]> git.pld-linux.org Git - packages/squid.git/commitdiff
- changed killall -USR1 squid to squid -k rotate
authormarcus <marcus@pld-linux.org>
Tue, 10 Apr 2001 22:06:48 +0000 (22:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Note, the 'squid -k rotate' command normally sends a USR1
signal to the running squid process.  In certain situations
(e.g. on Linux with Async I/O), USR1 is used for other
purposes, so -k rotate uses another signal.  It is best to get
in the habit of using 'squid -k rotate' instead of 'kill -USR1 <pid>':

Changed files:
    squid.logrotate -> 1.5

squid.logrotate

index 27f2d6fa8d08921d74254a931cd7da6e91f51fc2..e5513c51023d324bcbe7121918e700015b64ec6e 100644 (file)
@@ -6,7 +6,7 @@
        create 660 root squid
        postrotate
                # signal Squid to restart logging with the new files
-               /bin/killall -USR1 squid
+               /usr/sbin/squid -k rotate
        endscript
 }
 
@@ -18,6 +18,6 @@
        create 660 root squid
        postrotate
                # signal Squid to restart logging with the new files
-               /bin/killall -USR1 squid
+               /usr/sbin/squid -k rotate
        endscript
 }
This page took 0.195048 seconds and 4 git commands to generate.