Michael Whitman on Tue, 9 Apr 2002 16:30:13 +0200 |
The example below is from the man page of logrotate. I am setting up logrotation for apache. My question is why the killall is necessary? Isn't this going to stop my webserver? -HUP just means you are specifying a process name rather than a PID right? "/var/log/httpd/access.log" /var/log/httpd/error.log { rotate 5 errors www@my.org size=100k sharedscripts postrotate /sbin/killall -HUP httpd endscript }
|
|