]> git.pld-linux.org Git - packages/inn.git/blob - inn.logrotate
- release 11
[packages/inn.git] / inn.logrotate
1 /var/log/news/news.* {
2         olddir /var/log/archiv/news
3         create 640 news news
4         postrotate
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
10         endscript
11 }
12
13 /var/log/news/news {
14         olddir /var/log/archiv/news
15         create 640 news news
16         prerotate
17                 ctlinnd -s pause "Flushing log and syslog files" || :
18         endscript
19         postrotate
20                 ctlinnd -s go "Flushing log and syslog files"
21         endscript
22 }
23
24 /var/log/news/*log {
25         olddir /var/log/archiv/news
26         create 640 news news
27         prerotate
28                 ctlinnd -s pause "Flushing log and syslog files" || :
29         endscript
30         postrotate
31                 ctlinnd -s go "Flushing log and syslog files"
32         endscript
33 }
This page took 0.074046 seconds and 3 git commands to generate.