[CentOS] systemd environment var composed of vars

Mon Jul 6 15:25:34 UTC 2020
Leon Fauster <leonfauster at googlemail.com>

Is it somehow possible to use composed ENV vars in a systemd unit file?

Simple example, env file has

ADDRESS=foo
PORT=bar
LISTEN=${ADDRESS}:${PORT}

putting ${ADDRESS}:${PORT} directly in the unit file works, $LISTEN not.

Does systemd supports such var substitution?

--
Leon