简体   繁体   中英

Using environment variables in icecast config

I'm trying to setup the icecast.xml file to pull in necessary variables from the environment. For example I have set the variable HOST=streamurl.com and I want to pull that variable in the config: <hostname>$HOST</hostname>

However I don't see much in their documentation so I don't know if this is even possible.

Icecast does not support this.

In addition the hostname field takes a FQDN, not an URL. Doing otherwise will eg break YP listings.

What are you trying to achieve here? There might be a better/easier way.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM