Be it further enacted, that it shall be the duty of the sheriff of said county to attend all meetings of said board, and to serve all processes, orders, writs of notices issued by said board, for which service said sheriff shall receive such compensation as may be agreed upon by him and such board; provided, however, that if such board and the sheriff cannot agree as to the compensation he is to receive in said court, then said board shall have the right to appoint a special bailiff to serve them, paying him such compensation as they may deem just and right.