]> git.pld-linux.org Git - packages/postfix.git/commitdiff
- nice service fixed auto/ti/postfix-2_5_6-2
authorzbyniu <zbyniu@pld-linux.org>
Sat, 7 Feb 2009 02:49:42 +0000 (02:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postfix.init -> 1.25

postfix.init

index 2f2c3fe6614e5a622d0cdcc6de3dfda1832fea55..fe1a1a61801212e94118cd5e6c27804c691eb343 100644 (file)
@@ -36,7 +36,7 @@ start() {
        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
This page took 0.254773 seconds and 4 git commands to generate.