]> git.pld-linux.org Git - packages/inn.git/commitdiff
- compact it and use sharedscripts
authorPaweł Gołaszewski <blues@pld-linux.org>
Tue, 12 May 2009 07:51:45 +0000 (07:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    inn.logrotate -> 1.9

inn.logrotate

index 2f2887db6702c558eb62e0291829609d60cf498b..865accf9a76bc4e09e8347b6739c32d2399f2bce 100644 (file)
@@ -1,6 +1,8 @@
 /var/log/news/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/news {
-       olddir /var/log/archive/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
-}
-
 /var/log/news/errorlog
 /var/log/news/expire.log
 /var/log/news/innfeed.log
-/var/log/news/nntpsend.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" || :
        endscript
@@ -34,3 +28,4 @@
                ctlinnd -s go "Flushing log and syslog files"
        endscript
 }
+
This page took 0.073684 seconds and 4 git commands to generate.