]> git.pld-linux.org Git - packages/inn.git/blobdiff - inn.logrotate
- updated to 2.6.1 (note: new libinn soname; includes openssl 1.1 support)
[packages/inn.git] / inn.logrotate
index a25d0e038186cc0dcf85884c083ca78036f077c2..865accf9a76bc4e09e8347b6739c32d2399f2bce 100644 (file)
@@ -1,6 +1,8 @@
 /var/log/news/news.* {
-       olddir /var/log/archiv/news
+       olddir /var/log/archive/news
        create 640 news news
+
+       sharedscripts
        postrotate
                if [ -e /etc/rc.d/init.d/syslog-ng ] ; then
                        /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1
        endscript
 }
 
+/var/log/news/errorlog
+/var/log/news/expire.log
+/var/log/news/innfeed.log
+/var/log/news/nntpsend.log
 /var/log/news/news {
-       olddir /var/log/archiv/news
+       olddir /var/log/archive/news
        create 640 news news
+       
+       sharedscripts
        prerotate
-               ctlinnd -s pause "Flushing log and syslog files"
+               ctlinnd -s pause "Flushing log and syslog files" || :
        endscript
        postrotate
                ctlinnd -s go "Flushing log and syslog files"
        endscript
 }
 
-/var/log/news/*log {
-       olddir /var/log/archiv/news
-       create 640 news news
-       prerotate
-               ctlinnd -s pause "Flushing log and syslog files"
-       endscript
-       postrotate
-               ctlinnd -s go "Flushing log and syslog files"
-       endscript
-}
This page took 0.104584 seconds and 4 git commands to generate.