The chief of police shall be ex officio marshal of the said city, and shall perform all duties imposed on the marshal by law, and such other duties as may be required by the commission.