]>
Commit | Line | Data |
---|---|---|
0d26c1ec | 1 | /var/log/messages { |
0d26c1ec JR |
2 | postrotate |
3 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
fd45bc68 | 4 | /etc/rc.d/init.d/klogd restart >/dev/null 2>&1 |
0d26c1ec JR |
5 | endscript |
6 | } | |
7 | ||
7f8b3945 | 8 | /var/log/daemon { |
f0efb94f SZ |
9 | postrotate |
10 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
fd45bc68 | 11 | /etc/rc.d/init.d/klogd restart >/dev/null 2>&1 |
f0efb94f SZ |
12 | endscript |
13 | } | |
14 | ||
7f8b3945 JR |
15 | /var/log/debug { |
16 | postrotate | |
17 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
fd45bc68 | 18 | /etc/rc.d/init.d/klogd restart >/dev/null 2>&1 |
7f8b3945 JR |
19 | endscript |
20 | } | |
21 | ||
22 | /var/log/iptables { | |
23 | postrotate | |
24 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
fd45bc68 | 25 | /etc/rc.d/init.d/klogd restart >/dev/null 2>&1 |
7f8b3945 JR |
26 | endscript |
27 | } | |
28 | ||
29 | /var/log/kernel { | |
30 | postrotate | |
31 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
fd45bc68 | 32 | /etc/rc.d/init.d/klogd restart >/dev/null 2>&1 |
7f8b3945 JR |
33 | endscript |
34 | } | |
35 | ||
36 | /var/log/lpr { | |
f0efb94f SZ |
37 | postrotate |
38 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
fd45bc68 | 39 | /etc/rc.d/init.d/klogd restart >/dev/null 2>&1 |
f0efb94f SZ |
40 | endscript |
41 | } | |
42 | ||
43 | /var/log/maillog { | |
44 | postrotate | |
45 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
fd45bc68 | 46 | /etc/rc.d/init.d/klogd restart >/dev/null 2>&1 |
f0efb94f SZ |
47 | endscript |
48 | } | |
49 | ||
7f8b3945 JR |
50 | /var/log/secure { |
51 | postrotate | |
52 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
fd45bc68 | 53 | /etc/rc.d/init.d/klogd restart >/dev/null 2>&1 |
7f8b3945 JR |
54 | endscript |
55 | } | |
56 | ||
f0efb94f SZ |
57 | /var/log/spooler { |
58 | postrotate | |
59 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
fd45bc68 | 60 | /etc/rc.d/init.d/klogd restart >/dev/null 2>&1 |
f0efb94f SZ |
61 | endscript |
62 | } | |
63 | ||
7f8b3945 JR |
64 | /var/log/syslog { |
65 | postrotate | |
66 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
fd45bc68 | 67 | /etc/rc.d/init.d/klogd restart >/dev/null 2>&1 |
7f8b3945 JR |
68 | endscript |
69 | } | |
70 | ||
71 | /var/log/user { | |
72 | postrotate | |
73 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
fd45bc68 | 74 | /etc/rc.d/init.d/klogd restart >/dev/null 2>&1 |
7f8b3945 JR |
75 | endscript |
76 | } | |
77 | ||
78 | /var/log/mail/* { | |
a2cd5504 | 79 | olddir /var/log/archiv/mail |
f0efb94f SZ |
80 | postrotate |
81 | /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1 | |
fd45bc68 | 82 | /etc/rc.d/init.d/klogd restart >/dev/null 2>&1 |
f0efb94f SZ |
83 | endscript |
84 | } |