SOURCES: mailman.logrotate - use service; only redirect stdout

glen glen at pld-linux.org
Thu Sep 20 15:36:59 CEST 2007


Author: glen                         Date: Thu Sep 20 13:36:59 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use service; only redirect stdout

---- Files affected:
SOURCES:
   mailman.logrotate (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/mailman.logrotate
diff -u SOURCES/mailman.logrotate:1.3 SOURCES/mailman.logrotate:1.4
--- SOURCES/mailman.logrotate:1.3	Mon Apr  2 18:41:07 2007
+++ SOURCES/mailman.logrotate	Thu Sep 20 15:36:54 2007
@@ -3,6 +3,6 @@
 	create 660 mailman mailman
 	monthly
 	postrotate
-		/etc/rc.d/init.d/mailman restart >/dev/null 2>&1
+		/sbin/service mailman restart >/dev/null
 	endscript
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mailman.logrotate?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list