Systemd Environment Var Composed Of Vars

Home » CentOS » Systemd Environment Var Composed Of Vars
CentOS 1 Comment

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

Simple example, env file has

ADDRESS=foo PORT

One thought on - Systemd Environment Var Composed Of Vars

  • Am 06.07.20 um 17:25 schrieb Leon Fauster:

    Answering my self :-)

    No, “Variable expansion is not performed inside the strings” see

    man systemd.exec