Whenever I decide I want to bother with colonization, I put 1 boat in ever 3rd or 4th port or so. I never have any problems with pirates. To actually have ships patrol the coastlines is rather pointless and annoying, it works the same if you just let a single ship rot in the port.