In the event that any building or structure is erected, constructed, reconstructed, altered, repaired, converted or maintained or any building, structure or land is used in violation of this chapter or of any ordinance or regulation made under authority conferred hereby, the Town board or, with its approval, the Building Inspector or other proper official, in addition to other remedies, may institute any appropriate legal action or proceedings to prevent such unlawful erection, construction, alteration, repair, conversion, maintenance or use, to restrain, correct or abate such violation, to prevent the occupancy of said building, structure or land or to prevent any illegal act, conduct, business or use about such premises. The Building Inspector shall serve notice by registered mail, addressed to the premises of such violation, on the person or corporation committing or permitting the same. If such violation does not cease within such time as the Building Inspector may specify, he shall institute such of the foregoing action as may be necessary to terminate the violation. Such notice may also be served by posting on the premises.