Fetching details from the dictionary...
to obey; to submit to; to yield to; to accept; to abide by
to serve (in the army, a prison sentence, etc.)
to go into (mourning); to observe
to take (medicine, poison, etc.); to drink (tea)
命令に素直に服した兵士もいた。
There were soldiers who obediently submitted to orders.
判決に服していた期間、彼は冷静に過ごした。
During the period he was serving under the judgment, he remained calm.
どれほど理不尽な指示でも、立場上服するしかなかった。
No matter how unreasonable the instructions, he had no choice but to comply given his position.