Cert renew script with stop apache pre hook : port 443 already open

I believe that providing an option (like --pre-hook) multiple times will result in all but the last one being ignored. So in your case only the Postfix hook would run, not the Apache one. You can combine them into a single pre-hook using a ;.