diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-05-25 09:25:32 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-05-25 09:28:03 +0200 |
commit | 26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b (patch) | |
tree | 3ad80fb804d9a4db151d9a5a1d284d79e683ff10 /testing/syslog-ng/syslog-ng.logrotate | |
parent | f64bfe77a6bde014a88ea2840b3a54e2281ccbbb (diff) | |
download | aports-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.logrotate | 40 |
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 0000000000..c3fd093418 --- /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 +} |