The sheriff has the custody and charge of the county jail and of all prisoners in that jail and shall keep it in person, or by a deputy as jailer, master or keeper. The appointment, discipline, suspension or dismissal of the jailer, master or keeper is subject to section 501. [1989, c. 6, (AMD); 1989, c. 9, §2 (AMD); 1989, c. 104, Pt. C, §§8, 10 (AMD); 1989, c. 853, (AMD).]