| ||||||||||||||||
|
||||||||||||||||
Alexey V. Meledin wrote:
>
> >AVM>>> set `ps -axc |grep httpd`
> >AVM>>> case $5 in
> >AVM>>> httpd) kill -SIGHUP $1;;
> >AVM>>> *) ;;
> >AVM>>> esac
> >а apachectl restart чем плох?
> Мне newsyslog перекомпилить или идти более цивилизованными
> методами?
/var/log/httpd/access_log {
postrotate
kill -HUP `cat /var/run/httpd.pid`
endscript
}
в logrotate.conf не спасет?
--
Vladimir Pastukhov <vol@xxxxxxxxxxxxxx>
=============================================================================
= Apache-Talk@xxxxxxxxxxxxx mailing list =
Mail "unsubscribe apache-talk" to majordomo@xxxxxxxxxxxxx if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =
|
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE. Copyright (C) 1995-2001 The Apache Group. All rights reserved. Copyright (C) 1996 Dm. Kryukov; Copyright (C) 1997-2009 . Design (C) 1998 Max Smolev. |
||