custom logs from DA

bartkob

Verified User
Joined
Sep 12, 2007
Messages
27
I want to create logs with custom chmod and user.
In /etc/logrotate.d/apache I simply use
Code:
/home/log/* /var/log/httpd/domains/* {
    missingok
    compress
    rotate 1
    [B]create 0777 nobody nobody[/B]
    size 1000k
    sharedscripts
    postrotate
        /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
    endscript
where create 0777 nobody nobody is option, which I don't see in DA conf. Logs are created with root root and other chmod.
 
Back
Top