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

/etc/logrotate.d/httpd



[hendry server ~]$ cat /etc/logrotate.d/httpd
/var/log/httpd/*log {
   missingok
   notifempty
   sharedscripts
   postrotate
/bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
   endscript
}



Why does this logrotate script kill httpd or am I reading this wrong?


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