also: ぐんやく
Refers to the duty of serving in the armed forces, often in a historical or legal context.
彼は軍役を終えて故郷に戻った。
He returned to his hometown after completing his military service.
当時、軍役は国民の義務とされていた。
At that time, military service was considered a duty of the people.
Standard kanji spelling. The reading ぐんえき is more common than ぐんやく.
Alternate reading, less common. May appear in historical contexts.
Compound of 軍 (army, military) and 役 (service, duty). The reading ぐんえき is the standard on'yomi combination.