Skip to content

Instantly share code, notes, and snippets.

@130db
Created August 1, 2013 09:54
Show Gist options
  • Save 130db/6130022 to your computer and use it in GitHub Desktop.
Save 130db/6130022 to your computer and use it in GitHub Desktop.
How to split Icecast config file in smaller chunks and include them as entities
Lets say you have a lots of predefined mountpoints. Move them to separate XML file mount-points.xml
At the beggining of icetcast.xml add
<!DOCTYPE icecast [
<!ENTITY mounts SYSTEM "mount-points.xml">
]>
and then add reference to mounts somewhere within your configuration file
&mounts;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment