/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
-}