]>
Commit | Line | Data |
---|---|---|
f8a0422c | 1 | /var/log/news/news.* { |
9e30a8f4 | 2 | olddir /var/log/archive/news |
c747d3f4 | 3 | create 640 news news |
f8a0422c | 4 | postrotate |
a51686d8 JR |
5 | if [ -e /etc/rc.d/init.d/syslog-ng ] ; then |
6 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
7 | elif [ -e /etc/rc.d/init.d/syslog ] ; then | |
8 | /etc/rc.d/init.d/syslog reload >/dev/null 2>&1 | |
9 | fi | |
c747d3f4 | 10 | endscript |
11 | } | |
12 | ||
13 | /var/log/news/news { | |
9e30a8f4 | 14 | olddir /var/log/archive/news |
1b31d289 | 15 | create 640 news news |
c747d3f4 | 16 | prerotate |
b112c053 | 17 | ctlinnd -s pause "Flushing log and syslog files" || : |
c747d3f4 | 18 | endscript |
19 | postrotate | |
20 | ctlinnd -s go "Flushing log and syslog files" | |
21 | endscript | |
22 | } | |
23 | ||
1a367a62 PG |
24 | /var/log/news/errorlog |
25 | /var/log/news/expire.log | |
26 | /var/log/news/innfeed.log | |
27 | /var/log/news/nntpsend.log { | |
9e30a8f4 | 28 | olddir /var/log/archive/news |
1b31d289 | 29 | create 640 news news |
c747d3f4 | 30 | prerotate |
b112c053 | 31 | ctlinnd -s pause "Flushing log and syslog files" || : |
c747d3f4 | 32 | endscript |
33 | postrotate | |
34 | ctlinnd -s go "Flushing log and syslog files" | |
35 | endscript | |
f8a0422c | 36 | } |