A town operating a plant may pass ordinances or by-laws, imposing penalties not exceeding fifty dollars, to protect the plant, control its use and prevent accidents from gas or electricity supplied by it, and to govern consumers in their use thereof.
Mass. Gen. Laws ch. 164, § 62