Armed forces personnel are more disciplined because of service rules and training. There is less rigidity of discipline in civil. That is the cause of more discipline in Armed forces personnel.
yes armed people have to follow some rules initially but these rules become their part of life when they used to follow it daily and they become habitual for it.