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
create 660 root squid
postrotate
# signal Squid to restart logging with the new files
- /bin/killall -USR1 squid
+ /usr/sbin/squid -k rotate
endscript
}
create 660 root squid
postrotate
# signal Squid to restart logging with the new files
- /bin/killall -USR1 squid
+ /usr/sbin/squid -k rotate
endscript
}