Changeset f2ea21fd96fc464fb4056b1027f29e543efe8df9
- Timestamp:
- 07/27/10 14:34:42 (6 weeks ago)
- Parents:
- 47dfd6383de03015167a5f85a728197b2b9a147b
- Children:
- 69be6848e524cca23c6f317e7d818d6189846672
- git-committer:
- Alban Peignier <alban@tryphon.eu> / 2010-07-27T14:34:42Z+0200
- Files:
-
- 1 modified
-
files/icecast2/icecast.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
files/icecast2/icecast.xml
rdcaeea2 rf2ea21f 32 32 </authentication> 33 33 34 <!-- Uncomment this if you want directory listings -->35 <!--36 <directory>37 <yp-url-timeout>15</yp-url-timeout>38 <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>39 </directory>40 -->41 42 <!-- This is the hostname other people will use to connect to your server.43 It affects mainly the urls generated by Icecast for playlists and yp44 listings. -->45 34 <hostname>localhost</hostname> 46 47 <!-- You can use these two if you only want a single listener -->48 <!--<port>8000</port> -->49 <!--<bind-address>127.0.0.1</bind-address>-->50 51 <!-- You may have multiple <listener> elements -->52 35 <listen-socket> 53 36 <port>8000</port> 54 <!-- <bind-address>127.0.0.1</bind-address> -->55 37 </listen-socket> 56 <!--57 <listen-socket>58 <port>8001</port>59 </listen-socket>60 -->61 62 <!--<master-server>127.0.0.1</master-server>-->63 <!--<master-server-port>8001</master-server-port>-->64 <!--<master-update-interval>120</master-update-interval>-->65 <!--<master-password>hackme</master-password>-->66 67 <!-- setting this makes all relays on-demand unless overridden, this is68 useful for master relays which do not have <relay> definitions here.69 The default is 0 -->70 <!--<relays-on-demand>1</relays-on-demand>-->71 72 <!--73 <relay>74 <server>127.0.0.1</server>75 <port>8001</port>76 <mount>/example.ogg</mount>77 <local-mount>/different.ogg</local-mount>78 <on-demand>0</on-demand>79 80 <relay-shoutcast-metadata>0</relay-shoutcast-metadata>81 </relay>82 -->83 84 <!-- Only define a <mount> section if you want to use advanced options,85 like alternative usernames or passwords86 <mount>87 <mount-name>/example-complex.ogg</mount-name>88 89 <username>othersource</username>90 <password>hackmemore</password>91 92 <max-listeners>1</max-listeners>93 <dump-file>/tmp/dump-example1.ogg</dump-file>94 <burst-size>65536</burst-size>95 <fallback-mount>/example2.ogg</fallback-mount>96 <fallback-override>1</fallback-override>97 <fallback-when-full>1</fallback-when-full>98 <intro>/example_intro.ogg</intro>99 <hidden>1</hidden>100 <no-yp>1</no-yp>101 <authentication type="htpasswd">102 <option name="filename" value="myauth"/>103 <option name="allow_duplicate_users" value="0"/>104 </authentication>105 <on-connect>/home/icecast/bin/stream-start</on-connect>106 <on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>107 </mount>108 109 <mount>110 <mount-name>/auth_example.ogg</mount-name>111 <authentication type="url">112 <option name="mount_add" value="http://myauthserver.net/notify_mount.php"/>113 <option name="mount_remove" value="http://myauthserver.net/notify_mount.php"/>114 <option name="listener_add" value="http://myauthserver.net/notify_listener.php"/>115 <option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>116 </authentication>117 </mount>118 119 -->120 38 121 39 <fileserve>1</fileserve> 122 40 123 <!-- set the mountpoint for a shoutcast source to use, the default if not124 specified is /stream but you can change it here if an alternative is125 wanted or an extension is required126 <shoutcast-mount>/live.nsv</shoutcast-mount>127 -->128 129 41 <paths> 130 <!-- basedir is only used if chroot is enabled -->131 42 <basedir>/usr/share/icecast2</basedir> 132 133 <!-- Note that if <chroot> is turned on below, these paths must both 134 be relative to the new root, not the original root --> 135 <logdir>/var/log</logdir> 43 <logdir>/var/log/icecast2</logdir> 136 44 <webroot>/usr/share/icecast2/web</webroot> 137 45 <adminroot>/usr/share/icecast2/admin</adminroot> 138 <!-- <pidfile>/usr/share/icecast2/icecast.pid</pidfile> -->139 140 <!-- Aliases: treat requests for 'source' path as being for 'dest' path141 May be made specific to a port or bound address using the "port"142 and "bind-address" attributes.143 -->144 <!--145 <alias source="/foo" dest="/bar"/>146 -->147 <!-- Aliases: can also be used for simple redirections as well,148 this example will redirect all requests for http://server:port/ to149 the status page150 -->151 46 <alias source="/" dest="/status.xsl"/> 152 47 </paths> … … 156 51 <errorlog>error.log</errorlog> 157 52 <!-- <playlistlog>playlist.log</playlistlog> --> 158 <loglevel>2</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> 159 <logsize>10000</logsize> <!-- Max size of a logfile --> 160 <!-- If logarchive is enabled (1), then when logsize is reached 161 the logfile will be moved to [error|access|playlist].log.DATESTAMP, 162 otherwise it will be moved to [error|access|playlist].log.old. 163 Default is non-archive mode (i.e. overwrite) 164 --> 165 <!-- <logarchive>1</logarchive> --> 53 <loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> 166 54 </logging> 167 55 168 56 <security> 169 57 <chroot>0</chroot> 170 <!--171 <changeowner>172 <user>nobody</user>173 <group>nogroup</group>174 </changeowner>175 -->176 58 </security> 177 59 </icecast>