[packages/exim] - rel 2; exim daemon doesn't do any logs reopening on HUP, avoid that, use delaycompress; dotate dai

arekm arekm at pld-linux.org
Mon Jul 21 17:27:58 CEST 2014


commit 0cf116ed4095031250f6deb733186644c0f4bf5e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 21 17:27:55 2014 +0200

    - rel 2; exim daemon doesn't do any logs reopening on HUP, avoid that, use delaycompress; dotate daily too

 exim.logrotate | 22 ++++++++++------------
 exim.spec      |  2 +-
 2 files changed, 11 insertions(+), 13 deletions(-)
---
diff --git a/exim.spec b/exim.spec
index 19a7ec1..6b6dd1d 100644
--- a/exim.spec
+++ b/exim.spec
@@ -25,7 +25,7 @@ Summary(pl.UTF-8):	Agent Transferu Poczty Uniwersytetu w Cambridge
 Summary(pt_BR.UTF-8):	Servidor de correio eletrônico exim
 Name:		exim
 Version:	4.82.1
-Release:	1
+Release:	2
 Epoch:		2
 License:	GPL
 Group:		Networking/Daemons/SMTP
diff --git a/exim.logrotate b/exim.logrotate
index c3bb90c..a1bb553 100644
--- a/exim.logrotate
+++ b/exim.logrotate
@@ -1,29 +1,27 @@
 /var/log/exim/main.log {
     olddir /var/log/archive/exim
     create 640 exim exim
-    postrotate
-	/bin/killall -HUP exim
-    endscript
+    daily
+    delaycompress
 }
 
 /var/log/exim/reject.log {
     olddir /var/log/archive/exim
     create 640 exim exim
-    postrotate
-	/bin/killall -HUP exim
-    endscript
+    daily
+    delaycompress
 }
+
 /var/log/exim/panic.log {
     olddir /var/log/archive/exim
     create 640 exim exim
-    postrotate
-	/bin/killall -HUP exim
-    endscript
+    daily
+    delaycompress
 }
+
 /var/log/exim/process.log {
     olddir /var/log/archive/exim
     create 640 exim exim
-    postrotate
-	/bin/killall -HUP exim
-    endscript
+    daily
+    delaycompress
 }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/exim.git/commitdiff/0cf116ed4095031250f6deb733186644c0f4bf5e



More information about the pld-cvs-commit mailing list