By majority vote, the city commission shall appoint a city manager for an indefinite term and shall fix the city manager's compensation. The city manager shall be appointed solely on the basis of the city manager's executive and administrative qualifications, with special reference to actual experience in or knowledge of accepted practices with respect to the duties of the office. At the time of the city manager's appointment, the city manager need not be a resident of the city or the state, but during the city manager's tenure of office, the city manager shall reside within the city.