summaryrefslogtreecommitdiffstats
path: root/testing/syslog-ng/syslog-ng.logrotate
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-05-25 09:25:32 +0200
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-05-25 09:28:03 +0200
commit26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b (patch)
tree3ad80fb804d9a4db151d9a5a1d284d79e683ff10 /testing/syslog-ng/syslog-ng.logrotate
parentf64bfe77a6bde014a88ea2840b3a54e2281ccbbb (diff)
downloadaports-26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b.tar.bz2
aports-26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b.tar.xz
testing/syslog-ng: new aport
Diffstat (limited to 'testing/syslog-ng/syslog-ng.logrotate')
-rw-r--r--testing/syslog-ng/syslog-ng.logrotate40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/syslog-ng/syslog-ng.logrotate b/testing/syslog-ng/syslog-ng.logrotate
new file mode 100644
index 000000000..c3fd09341
--- /dev/null
+++ b/testing/syslog-ng/syslog-ng.logrotate
@@ -0,0 +1,40 @@
+/var/log/auth.log {
+ rotate 14
+ daily
+ missingok
+ notifempty
+ compress
+ postrotate
+ /etc/init.d/syslog-ng reload >/dev/null
+ endscript
+}
+
+/var/log/mail.log /var/log/mail.info /var/log/mail.warn /var/log/mail.err {
+ rotate 8
+ weekly
+ missingok
+ notifempty
+ compress
+}
+
+/var/log/kern.log {
+ rotate 2
+ monthly
+ missingok
+ notifempty
+ compress
+ postrotate
+ /etc/init.d/syslog-ng reload >/dev/null
+ endscript
+}
+
+/var/log/messages /var/log/error.log {
+ rotate 14
+ weekly
+ missingok
+ notifempty
+ compress
+ postrotate
+ /etc/init.d/syslog-ng reload >/dev/null
+ endscript
+}