]> git.pld-linux.org Git - packages/inn.git/commitdiff
- fixed postrotate
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Sep 2000 23:09:53 +0000 (23:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    inn.logrotate -> 1.5

inn.logrotate

index 6416e64e7732f622c759b7088b0daaba4a408734..a25d0e038186cc0dcf85884c083ca78036f077c2 100644 (file)
@@ -2,7 +2,11 @@
        olddir /var/log/archiv/news
        create 640 news news
        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
 }
 
This page took 0.202237 seconds and 4 git commands to generate.