From 650d8e8820e068d8e55d306a1f42ca7b19418f05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 2 Mar 2010 08:49:46 +0000 Subject: [PATCH] - fix create permissions - do not rotate cdr files by default - create files with asterisk uid/gid Changed files: asterisk.logrotate -> 1.2 --- asterisk.logrotate | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/asterisk.logrotate b/asterisk.logrotate index a5ecc5f..a88d37b 100644 --- a/asterisk.logrotate +++ b/asterisk.logrotate @@ -1,12 +1,12 @@ -/var/log/asterisk/* /var/log/asterisk/*/* { - create 640 root logs - daily - missingok +/var/log/asterisk/* { + create 640 asterisk asterisk + daily + missingok compress delaycompress - rotate 30 - sharedscripts - postrotate - /sbin/service asterisk logger-reload - endscript + rotate 30 + sharedscripts + postrotate + /sbin/service asterisk logger-reload + endscript } -- 2.44.0