SOURCES: postfix.init - nice service fixed

zbyniu zbyniu at pld-linux.org
Sat Feb 7 03:49:48 CET 2009


Author: zbyniu                       Date: Sat Feb  7 02:49:48 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- nice service fixed

---- Files affected:
SOURCES:
   postfix.init (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SOURCES/postfix.init
diff -u SOURCES/postfix.init:1.24 SOURCES/postfix.init:1.25
--- SOURCES/postfix.init:1.24	Tue Jan 27 13:19:55 2009
+++ SOURCES/postfix.init	Sat Feb  7 03:49:42 2009
@@ -36,7 +36,7 @@
 	if [ ! -f /var/lock/subsys/postfix ]; then
 		msg_starting "Postfix"
 		busy
-		msg=$(/usr/sbin/postfix start 2>&1)
+		msg=$(nice -n ${SERVICE_RUN_NICE_LEVEL:-${DEFAULT_SERVICE_RUN_NICE_LEVEL:-0}} /usr/sbin/postfix start 2>&1)
 		RETVAL=$?
 		if [ $RETVAL -eq 0 ]; then
 			ok
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/postfix.init?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list