]> git.pld-linux.org Git - packages/inn.git/blame - inn.logrotate
- release 4
[packages/inn.git] / inn.logrotate
CommitLineData
f8a0422c 1/var/log/news/news.* {
2 olddir /var/log/archiv/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 {
5828094f 14 olddir /var/log/archiv/news
1b31d289 15 create 640 news news
c747d3f4 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 {
5828094f 25 olddir /var/log/archiv/news
1b31d289 26 create 640 news news
c747d3f4 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
f8a0422c 33}
This page took 0.093101 seconds and 4 git commands to generate.