def validate_hooks(config):
 validate_hook(config.pre_hook, 'pre')
 validate_hook(config.post_hook, 'post')
 validate_hook(config.renew_hook, 'renew')

def validate_hooks ( config ) : validate_hook ( config . pre_hook , 'pre' ) validate_hook ( config . post_hook , 'post' ) validate_hook ( config . renew_hook , 'renew' )
check hook commands are executable .