]> git.pld-linux.org Git - packages/inn.git/blame_incremental - inn.logrotate
- release 4 (by relup.sh)
[packages/inn.git] / inn.logrotate
... / ...
CommitLineData
1/var/log/news/news.* {
2 olddir /var/log/archive/news
3 create 640 news news
4
5 sharedscripts
6 postrotate
7 if [ -e /etc/rc.d/init.d/syslog-ng ] ; then
8 /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1
9 elif [ -e /etc/rc.d/init.d/syslog ] ; then
10 /etc/rc.d/init.d/syslog reload >/dev/null 2>&1
11 fi
12 endscript
13}
14
15/var/log/news/errorlog
16/var/log/news/expire.log
17/var/log/news/innfeed.log
18/var/log/news/nntpsend.log
19/var/log/news/news {
20 olddir /var/log/archive/news
21 create 640 news news
22
23 sharedscripts
24 prerotate
25 ctlinnd -s pause "Flushing log and syslog files" || :
26 endscript
27 postrotate
28 ctlinnd -s go "Flushing log and syslog files"
29 endscript
30}
31
This page took 0.042881 seconds and 4 git commands to generate.