We need to ensure that ngninx is stopped before letsencrypt runs or else letsencrypt will error saying that port 80 is already taken up by nginx