Here is a draft of the STR ordinance:
https://www.gilfordnh.org/file/2427/..._final_PDF.pdf
It looks very much like what the State of NH is trying to put in place state-wide.
Looks like that first inspection, septic system inspection, fire and safety issues, ability to remove rubbish, etc... put a pretty healthy burden on the permit applicant.
It also states explicitly that there are a number of infractions that will cause the permit to be revoked. The infractions seem reasonable as well.
I agree with Stevengilford. Some on this forum will read it and say this amounts to absolutely nothing (some already have!). Others will say if this is truly and competently enforced, that it should do the trick, and that's "Their read".