6 Sep
2011
6 Sep
'11
7:43 p.m.
Also, maybe you could allow aras user to execute: sudo /usr/bin/killall -HUP httpd WITHOUT the password. This is for log rotation (/home/aras/etc/logrotate.conf). -i On Tue, Sep 6, 2011 at 8:10 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Dan,
currently the web server logs RAS accesses and errors to:
/var/log/apache2/authors.repec.org-access /var/log/apache2/authors.repec.org-errors
Do you think you could reconfigure apache to write those logs in /home/aras/ and change ownership to aras for them?
then the ~/bin/nightly script would be able to both send the daily portion of the ...-errors log out and to rotate both logs immediately afterwards.
-i