<icecast> <limits> <clients>100</clients> <sources>2</sources> <threadpool>5</threadpool> <queue-size>524288</queue-size> <client-timeout>30</client-timeout> <header-timeout>15</header-timeout> <source-timeout>10</source-timeout> <burst-on-connect>1</burst-on-connect> <burst-size>65535</burst-size> </limits> <authentication> <source-password>PASS</source-password> <relay-password>PASS</relay-password> <admin-user>tranceunion</admin-user> <admin-password>PASS</admin-password> </authentication> <hostname>localhost</hostname> <listen-socket> <port>8000</port> </listen-socket> <fileserve>1</fileserve> <paths> <basedir>/usr/share/icecast2</basedir> <logdir>/var/log/icecast2</logdir> <webroot>/usr/share/icecast2/web</webroot> <adminroot>/usr/share/icecast2/admin</adminroot> <pidfile>/usr/share/icecast2/icecast.pid</pidfile> <alias source="/" dest="/status.xsl"/> </paths> <logging> <accesslog>access.log</accesslog> <errorlog>error.log</errorlog> <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> <logsize>10000</logsize> </logging> <security> <chroot>0</chroot> <changeowner> <user>icecast2</user> <group>icecast</group> </changeowner> </security> </icecast>
<?xml version="1.0"?> <ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices"> <Playlist> <File>/usr/local/etc/playlist.txt</File> <Randomize>1</Randomize> <Type>builtin</Type> <Module>ices</Module> </Playlist> <Execution> <Background>1</Background> <Verbose>0</Verbose> <BaseDirectory>/tmp</BaseDirectory> </Execution> <Stream> <Server> <Hostname>localhost</Hostname> <Port>8000</Port> <Password>PASS</Password> <Protocol>http</Protocol> </Server> <Mountpoint>/test</Mountpoint> <Name>Default stream</Name> <Genre>Default genre</Genre> <Description>Default description</Description> <URL>http://localhost:8000/test</URL> <Public>0</Public> <Bitrate>128</Bitrate> <Reencode>1</Reencode> <Samplerate>44100</Samplerate> <Channels>2</Channels> </Stream> </ices:Configuration>
service ices restart
ices: unrecognized service