Package: pound
Version: 2.6

When restarting/reloading services such as pound they should check to make sure 
config changes are valid before attemptin a restart/reload.


Here is the required code for the pound service:

 restart|force-reload)
        log_daemon_msg "Validating Config"
        if /usr/sbin/pound -c ; then
                log_daemon_msg "Restarting $DESC" "$NAME"
                killproc $DAEMON
                start_daemon $DAEMON $POUND_ARGS
                echo "."
        else
                log_daemon_msg "Failed to validate config file, refusing to 
restart"
        fi
        ;;



Jarl Stefansson
DevOps Engineer
Security Compass

p: +1 (888) 777 2211 x 148
m: +1 (416) 888-6908
t:  @securitycompass @sdelements

www.securitycompass.com | www.sdelements.com

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to