Section 2. A sheriff, before performing any official act, shall be sworn and prior to being sworn, and thereafter, at intervals of not more than one year, so long as he continues to hold such office, shall give to the state treasurer a bond in such amount and with such sureties as the superior court shall order and approve, conditioned to perform faithfully his own duties and to be responsible for the official acts of his deputies. A default, malfeasance or misfeasance in office of a deputy sheriff or jailer after the death, removal or resignation of the sheriff by whom he was appointed, shall be a breach of the bond of such sheriff.