Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [code]<icecast>
- <location>Russia</location>
- <admin>icemaster@localhost</admin>
- <limits>
- <clients>100</clients>
- <sources>2</sources>
- <queue-size>524288</queue-size>
- <client-timeout>30</client-timeout>
- <header-timeout>15</header-timeout>
- <source-timeout>10</source-timeout>
- <burst-size>65535</burst-size>
- </limits>
- <authentication>
- <!-- Sources log in with username 'source' -->
- <source-password>пароль</source-password>
- <!-- Relays log in with username 'relay' -->
- <relay-password>пароль</relay-password>
- <!-- Admin logs in with the username given below -->
- <admin-user>admin</admin-user>
- <admin-password>пароль</admin-password>
- </authentication>
- <!-- Uncomment this if you want directory listings -->
- <!--
- <directory>
- <yp-url-timeout>15</yp-url-timeout>
- <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
- </directory>
- -->
- <hostname>radio.site.ru</hostname>
- <mount>
- <mount-name>/mount.mp3</mount-name>
- <charset>UTF-8</charset>
- <max-listeners>250</max-listeners>
- <public>0</public>
- </mount>
- <mount>
- <mount-name>/low.aac</mount-name>
- <charset>UTF-8</charset>
- <max-listeners>100</max-listeners>
- <burst-size>65536</burst-size>
- <icy-metadata-interval>8192</icy-metadata-interval>
- <public>0</public>
- </mount>
- <listen-socket>
- <port>8000</port>
- </listen-socket>
- <listen-socket>
- <port>8010</port>
- <ssl>1</ssl>
- </listen-socket>
- <fileserve>1</fileserve>
- <paths>
- <!-- basedir is only used if chroot is enabled -->
- <basedir>/usr/share/icecast2</basedir>
- <ssl-certificate>/etc/icecast2/ssl/icecast.pem</ssl-certificate>
- <!-- Note that if <chroot> is turned on below, these paths must both
- be relative to the new root, not the original root -->
- <logdir>/var/log/icecast2</logdir>
- <webroot>/usr/share/icecast2/web</webroot>
- <adminroot>/usr/share/icecast2/admin</adminroot>
- <!-- <pidfile>/usr/share/icecast2/icecast.pid</pidfile> -->
- <!-- Aliases: treat requests for 'source' path as being for 'dest' path
- May be made specific to a port or bound address using the "port"
- and "bind-address" attributes.
- -->
- <!--
- <alias source="/foo" destination="/bar"/>
- -->
- <!-- Aliases: can also be used for simple redirections as well,
- this example will redirect all requests for http://server:port/ to
- the status page
- -->
- <alias source="/" destination="/status.xsl"/>
- <!-- The certificate file needs to contain both public and private part.
- Both should be PEM encoded.
- -->
- </paths>
- <logging>
- <accesslog>access.log</accesslog>
- <errorlog>error.log</errorlog>
- <!-- <playlistlog>playlist.log</playlistlog> -->
- <loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
- <logsize>10000</logsize> <!-- Max size of a logfile -->
- <!-- If logarchive is enabled (1), then when logsize is reached
- the logfile will be moved to [error|access|playlist].log.DATESTAMP,
- otherwise it will be moved to [error|access|playlist].log.old.
- Default is non-archive mode (i.e. overwrite)
- -->
- <!-- <logarchive>1</logarchive> -->
- </logging>
- <security>
- <chroot>0</chroot>
- <!--
- <changeowner>
- <user>nobody</user>
- <group>nogroup</group>
- </changeowner>
- -->
- </security>
- </icecast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement