The selectmen of towns making appropriations for the support of a resident physician shall constitute a board for the purpose of employing and dismissing him.