SOURCES: mailman.logrotate (NEW) - logrotate setting for mailman

baggins baggins at pld-linux.org
Mon Oct 10 17:37:59 CEST 2005


Author: baggins                      Date: Mon Oct 10 15:37:59 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- logrotate setting for mailman

---- Files affected:
SOURCES:
   mailman.logrotate (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mailman.logrotate
diff -u /dev/null SOURCES/mailman.logrotate:1.1
--- /dev/null	Mon Oct 10 17:37:59 2005
+++ SOURCES/mailman.logrotate	Mon Oct 10 17:37:54 2005
@@ -0,0 +1,7 @@
+/var/log/mailman/* {
+	olddir /var/log/archiv/mailman
+	create 660 mailman mailman
+	postrotate
+		/etc/rc.d/init.d/mailman restart >/dev/null 2>&1
+	endscript
+}
================================================================



More information about the pld-cvs-commit mailing list