Military personnel serving in areas away from their homes, spouses, or families should have more predictable schedules informing them of their dates of departure and return. Before leaving for a term of service, every military personnel should be told the date that they will return home. Of course, the military should retain the right to keep any personnel beyond their original deployment times during times of war or other emergencies, but overtime must be paid to all people staying over their terms if the military has asked (or forced) them to stay. If, instead, a person volunteers to stay over his/her deployment term, and the military agrees, that individual would not receive overtime pay.
If the military needs to retain personnel beyond their deployment terms, the first thing to do would be to offer overtime pay to all personnel volunteering to extend their deployment to perform jobs for which there is a shortage of workers. If still more personnel are needed, the military could force deployment extensions to personnel without significant obligations back home (such as marriage, etc.). If still more personnel are needed, the military could force deployment extensions for all workers, including those who are married or have other significant obligations back home. Of course, exceptions would be made for those with extreme hardships or obligations.