Ticket #583: postfix-config-2.patch

File postfix-config-2.patch, 807 bytes (added by petri.koistinen@…, 20 years ago)

add abort, flush and check and also update usage line.

  • BLFS/BOOK/server/mail/postfix/postfix-config.xml

    old new  
    7373        loadproc postfix reload
    7474        ;;
    7575
     76        abort)
     77        echo "Aborting Postfix..."
     78        loadproc postfix abort
     79        ;;
     80
     81        flush)
     82        echo "Flushing Postfix..."
     83        loadproc postfix flush
     84        ;;
     85       
     86        check)
     87        echo "Checking Postfix..."
     88        loadproc postfix check
     89        ;;
     90
    7691        restart)
    7792        $0 stop
    7893        sleep 1
     
    8095        ;;
    8196
    8297        *)
    83         echo "Usage: $0 {start|stop|reload|restart}"
     98        echo "Usage: $0 {start|stop|reload|abort|flush|check|restart}"
    8499        exit 1
    85100        ;;
    86101esac