systemd environment var composed of vars

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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





_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux