This is a discussion on logrotate not working within the Web servers forums, part of the Mastering Servers category; I followed the tutorial and this is what my /etc/logrotate.d/lighttpd Code: /var/log/lighttpd/*.log /var/log/lighttpd/mydomain.com/*.log /var/log/lighttpd/forums.mydomain.com/*.log { missingok copytruncate rotate 7 compress ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
I followed the tutorial and this is what my /etc/logrotate.d/lighttpd
Code:
/var/log/lighttpd/*.log /var/log/lighttpd/mydomain.com/*.log /var/log/lighttpd/forums.mydomain.com/*.log {
missingok
copytruncate
rotate 7
compress
notifempty
sharedscripts
postrotate
/etc/init.d/lighttpd reload
endscript
}
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bash not working! | Mwalimugini | Getting started tutorials | 4 | 03-24-2008 09:52 PM |
| Samba Server not working | vaibhav.kanchan | Getting started tutorials | 2 | 01-08-2008 06:14 PM |
| Spamassassin URI rule not working properly | diptanjan | Mail Servers | 2 | 06-26-2007 11:11 AM |
| Is NTP Working? | illtestu | Linux software | 1 | 05-22-2006 10:36 PM |
| iptables bittorrent not working | Linux software | 2 | 01-25-2006 07:52 PM | |