[Bug 327651] improve daemon startup speed

bugzilla at redhat.com bugzilla at redhat.com
Sun Dec 7 19:48:17 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=327651


Curtis Doty <curtis at greenkey.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|8                           |10




--- Comment #7 from Curtis Doty <curtis at greenkey.net>  2008-12-07 14:48:16 EDT ---
Still able to save small but significant bootup time using above
/etc/postfix/GNUmakefile and this simple example patch to initscript.

--- /etc/init.d/postfix.orig        2008-09-17 05:25:03.000000000 -0700
+++ /etc/init.d/postfix     2008-12-07 11:20:33.000000000 -0800
@@ -49,7 +49,10 @@
        conf_check
        # Start daemons.
        echo -n $"Starting postfix: "
-        /usr/bin/newaliases >/dev/null 2>&1
+       if [ -r /etc/postfix/GNUmakefile -a -x /usr/bin/make ]
+       then    /usr/bin/make -s -C /etc/postfix 2>/dev/null
+       else    /usr/bin/newaliases >/dev/null 2>&1
+       fi
        /usr/sbin/postfix start 2>/dev/null 1>&2 && success || failure $"$prog
start"
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/postfix

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the fedora-triage-list mailing list