Except for commitments under sections thirty-five or forty-eight of chapter one hundred and twenty-three, no person shall be sentenced to the state farm except for drunkenness. Whoever is sentenced to the state farm for drunkenness may be there held in custody for not more than six months.
Mass. Gen. Laws ch. 279, § 36