Radio, Web and Free Software

Changeset f2ea21fd96fc464fb4056b1027f29e543efe8df9

Show
Ignore:
Timestamp:
07/27/10 14:34:42 (6 weeks ago)
Author:
Alban Peignier <alban@…>
Parents:
47dfd6383de03015167a5f85a728197b2b9a147b
Children:
69be6848e524cca23c6f317e7d818d6189846672
git-committer:
Alban Peignier <alban@tryphon.eu> / 2010-07-27T14:34:42Z+0200
Message:

Remove comment sections and increase the log level to 3/info

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • files/icecast2/icecast.xml

    rdcaeea2 rf2ea21f  
    3232    </authentication> 
    3333 
    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 yp 
    44     listings. --> 
    4534    <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 --> 
    5235    <listen-socket> 
    5336        <port>8000</port> 
    54         <!-- <bind-address>127.0.0.1</bind-address> --> 
    5537    </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 is 
    68          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 passwords 
    86     <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     --> 
    12038 
    12139    <fileserve>1</fileserve> 
    12240 
    123     <!-- set the mountpoint for a shoutcast source to use, the default if not 
    124          specified is /stream but you can change it here if an alternative is 
    125          wanted or an extension is required 
    126     <shoutcast-mount>/live.nsv</shoutcast-mount> 
    127     --> 
    128  
    12941    <paths> 
    130                 <!-- basedir is only used if chroot is enabled --> 
    13142        <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> 
    13644        <webroot>/usr/share/icecast2/web</webroot> 
    13745        <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' path 
    141              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/ to 
    149              the status page 
    150           --> 
    15146        <alias source="/" dest="/status.xsl"/> 
    15247    </paths> 
     
    15651        <errorlog>error.log</errorlog> 
    15752        <!-- <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 --> 
    16654    </logging> 
    16755 
    16856    <security> 
    16957        <chroot>0</chroot> 
    170         <!-- 
    171         <changeowner> 
    172             <user>nobody</user> 
    173             <group>nogroup</group> 
    174         </changeowner> 
    175         --> 
    17658    </security> 
    17759</icecast>