Swift is great for pushing functional programming down the throat to mainstream developers that wish to target iOS, but it is no more pragmatic than OCaml or F#.
For the OP use case, targeting Linux server software is already better served by the languages I mentioned.