There is no publicly available information confirming whether Amos Mefford Hanks (Tom Hanks' father) served in the military.
Family military records are often private. The public record focuses overwhelmingly on Tom Hanks' career. For definitive information, genealogical research or military records requests would be necessary.