Michael Whitman on Tue, 9 Apr 2002 16:30:13 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] logrotate question


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
       }


______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug