]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd.logrotate
- suggest accesslog module, you usually want that
[packages/lighttpd.git] / lighttpd.logrotate
index 336f92270c7591624d908d406265e7dd9133d4b6..3d5dc2872624cab262b0d0f6985df0499083dc18 100644 (file)
@@ -1,8 +1,12 @@
-/var/log/lighttpd/*.log {
-       olddir /var/log/archiv/lighttpd
+/var/log/lighttpd/access.log
+/var/log/lighttpd/error.log
+{
+       olddir /var/log/archive/lighttpd
+
+       create 640 lighttpd logs
 
        sharedscripts
        postrotate
-               /etc/rc.d/init.d/lighttpd reload > /dev/null
+               /sbin/service lighttpd flush-logs > /dev/null
        endscript
 }
This page took 0.039968 seconds and 4 git commands to generate.