It's completely irrelevant to me since there's no evidence that suggests that men who served in the military make better war presidents than those who didn't. Flying a plane or carrying a rifle don't translate into having strategeric sense or the will and capacity to competently carry a war through to a successful conclusion.
As regards whether it makes a better wartime commander, I'd say Washington, Jackson, Truman and Eisenhower were all better able to lead as a result of their service. As an example, in Trumans case having commanded men in combat it was for him to understand what an invasion of Japan would mean. Dropping an atom bomb on the Japanese became a simpler, though perhaps not easier, decision.