/var/log/httpd/access_log {
olddir /var/log/archiv/httpd
postrotate
- /bin/killall -USR1 httpd
+ /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
endscript
}
/var/log/httpd/agent_log {
olddir /var/log/archiv/httpd
postrotate
- /bin/killall -USR1 httpd
+ /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
endscript
}
/var/log/httpd/error_log {
olddir /var/log/archiv/httpd
postrotate
- /bin/killall -USR1 httpd
+ /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
endscript
}
/var/log/httpd/referer_log {
olddir /var/log/archiv/httpd
postrotate
- /bin/killall -USR1 httpd
+ /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
endscript
}