Twenty-five years service. Every employee in active service and employment at the time of the effective date of this act, or hereafter, whose total service as an employee shall at any time amount to twenty-five years, may retire on his own motion, and this shall include any employee who shall have served twenty-five years prior to the effective date of this act, and any employee who shall serve his twenty-five years after the effective date of this act, and also include any employee who serves twenty-five years regardless of whether part of said service is before the effective date of this act and part of the service is after the effective date of this act, such employee shall be retired at one-half of the highest salary or wage or remuneration he has received as an employee within the period of seventy-two months immediately preceding his retirement, plus two percentum for each year's service beyond said twenty-five years, however, at no time shall any pension exceed sixty percentum of the highest salary, or wage or remuneration paid to said employee within the period of seventy-two months immediately preceding his retirement. Salary increases in effect for less than six months preceding retirement are not to be used in computation of pensions. Any employee may be retired at the expiration of thirty years' service and after attaining the age of sixtyfive years at the discretion of the board of health.