]> 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 0f8a4233e6dcb49ff6dc4094b665a716ab1f8d1f..865accf9a76bc4e09e8347b6739c32d2399f2bce 100644 (file)
@@ -1,25 +1,31 @@
 /var/log/news/news.* {
-       olddir /var/log/archiv/news
+       olddir /var/log/archive/news
        create 640 news news
+
+       sharedscripts
        postrotate
-               /usr/bin/killall -HUP syslogd
+               if [ -e /etc/rc.d/init.d/syslog-ng ] ; then
+                       /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1
+               elif [ -e /etc/rc.d/init.d/syslog ] ; then
+                       /etc/rc.d/init.d/syslog reload >/dev/null 2>&1
+               fi
        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/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 {
-       prerotate
-               ctlinnd -s pause "Flushing log and syslog files"
-       endscript
-       postrotate
-               ctlinnd -s go "Flushing log and syslog files"
-       endscript
-}
This page took 0.095993 seconds and 4 git commands to generate.